diff options
author | Borislav Petkov <petkovbb@googlemail.com> | 2008-07-23 19:56:01 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 19:56:01 +0200 |
commit | ea68d270ff55bcdfa5d07697eb68103b5b02c7bb (patch) | |
tree | 68bcb3f721b95cca5b1fb0891e7490af19de55e5 /include/linux/ide.h | |
parent | 3b8ac5398ca8137b41aa5da4d9fad89153450aaa (diff) | |
download | linux-stable-ea68d270ff55bcdfa5d07697eb68103b5b02c7bb.tar.gz linux-stable-ea68d270ff55bcdfa5d07697eb68103b5b02c7bb.tar.bz2 linux-stable-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 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 3 |
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 { |