diff options
author | Borislav Petkov <petkovbb@googlemail.com> | 2008-07-23 13:56:01 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:56:01 -0400 |
commit | ea68d270ff55bcdfa5d07697eb68103b5b02c7bb (patch) | |
tree | 68bcb3f721b95cca5b1fb0891e7490af19de55e5 /include | |
parent | 3b8ac5398ca8137b41aa5da4d9fad89153450aaa (diff) |
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')
-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 { | |||
687 | PC_FLAG_WRITING = (1 << 6), | 687 | PC_FLAG_WRITING = (1 << 6), |
688 | /* command timed out */ | 688 | /* command timed out */ |
689 | PC_FLAG_TIMEDOUT = (1 << 7), | 689 | PC_FLAG_TIMEDOUT = (1 << 7), |
690 | PC_FLAG_ZIP_DRIVE = (1 << 8), | 690 | PC_FLAG_DRQ_INTERRUPT = (1 << 8), |
691 | PC_FLAG_DRQ_INTERRUPT = (1 << 9), | ||
692 | }; | 691 | }; |
693 | 692 | ||
694 | struct ide_atapi_pc { | 693 | struct ide_atapi_pc { |