ide-floppy: convert to using the new atapi_flags (take 2)
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 23 Jul 2008 17:56:01 +0000 (19:56 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:56:01 +0000 (19:56 +0200)
commitea68d270ff55bcdfa5d07697eb68103b5b02c7bb
tree68bcb3f721b95cca5b1fb0891e7490af19de55e5
parent3b8ac5398ca8137b41aa5da4d9fad89153450aaa
ide-floppy: convert to using the new atapi_flags (take 2)

while at it, remove PC_FLAG_ZIP_DRIVE from the packed command flags altogether
and query the drive type through drive->atapi_flags.

v2:
ide-floppy fix.

There should be no functionality change resulting from this patch.

[bart: IDE_FLAG_* -> IDE_AFLAG_*, dev_flags -> atapi_flags]

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-atapi.c
drivers/ide/ide-floppy.c
include/linux/ide.h