diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:57 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:57 -0400 |
commit | 5d41893c0f9caf94b449eada0279a08c86f0212e (patch) | |
tree | 37dbcbb686f506c0f275c127b74f8f8ac349e0ee /include/linux/ide.h | |
parent | 5a7b75ab429e9ed568be50cfbf7091f097457cb8 (diff) |
ide: add PC_FLAG_ZIP_DRIVE pc flag
Add PC_FLAG_ZIP_DRIVE pc flag, set it in idefloppy_do_request()
and check for it (instead of checking for IDEFLOPPY_FLAG_ZIP_DRIVE)
in idefloppy_transfer_pc(). This is a preparation for adding
generic ide_transfer_pc() helper.
There should be no functional changes caused by this patch.
Cc: 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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 63cee2947f60..89feaea9e20b 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -607,6 +607,7 @@ enum { | |||
607 | PC_FLAG_WRITING = (1 << 6), | 607 | PC_FLAG_WRITING = (1 << 6), |
608 | /* command timed out */ | 608 | /* command timed out */ |
609 | PC_FLAG_TIMEDOUT = (1 << 7), | 609 | PC_FLAG_TIMEDOUT = (1 << 7), |
610 | PC_FLAG_ZIP_DRIVE = (1 << 8), | ||
610 | }; | 611 | }; |
611 | 612 | ||
612 | struct ide_atapi_pc { | 613 | struct ide_atapi_pc { |