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>
This commit is contained in:
parent
3b8ac5398c
commit
ea68d270ff
3 changed files with 31 additions and 50 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue