aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-07-23 19:56:01 +0200
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 19:56:01 +0200
commitea68d270ff55bcdfa5d07697eb68103b5b02c7bb (patch)
tree68bcb3f721b95cca5b1fb0891e7490af19de55e5 /include/linux/ide.h
parentide: add per-device flags (diff)
downloadlinux-dev-ea68d270ff55bcdfa5d07697eb68103b5b02c7bb.tar.xz
linux-dev-ea68d270ff55bcdfa5d07697eb68103b5b02c7bb.zip
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>
Diffstat (limited to '')
-rw-r--r--include/linux/ide.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index fcf2d1bede08..147bfee1fe70 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -687,8 +687,7 @@ enum {
PC_FLAG_WRITING = (1 << 6),
/* command timed out */
PC_FLAG_TIMEDOUT = (1 << 7),
- PC_FLAG_ZIP_DRIVE = (1 << 8),
- PC_FLAG_DRQ_INTERRUPT = (1 << 9),
+ PC_FLAG_DRQ_INTERRUPT = (1 << 8),
};
struct ide_atapi_pc {