diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:58 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:58 -0400 |
commit | 594c16d8dd54cd7b1c5ef1ec3ac0f6bf34301dad (patch) | |
tree | 4891a8ab4e998ba00db51e4672da64fd83663002 /include/linux | |
parent | f83cbc77b0d5521b4f0f591ede4870316944481a (diff) |
ide: add ide_transfer_pc() helper
* Add ide-atapi.c file for generic ATAPI support together with
CONFIG_IDE_ATAPI config option.
* Add generic ide_transfer_pc() helper to ide-atapi.c and then
convert ide-{floppy,tape,scsi} device drivers to use it.
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')
-rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 89feaea9e20b..bed3c58798ae 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -967,6 +967,9 @@ extern int drive_is_ready(ide_drive_t *); | |||
967 | 967 | ||
968 | void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); | 968 | void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); |
969 | 969 | ||
970 | ide_startstop_t ide_transfer_pc(ide_drive_t *, struct ide_atapi_pc *, | ||
971 | ide_handler_t *, unsigned int, ide_expiry_t *); | ||
972 | |||
970 | ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); | 973 | ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); |
971 | 974 | ||
972 | void task_end_request(ide_drive_t *, struct request *, u8); | 975 | void task_end_request(ide_drive_t *, struct request *, u8); |