diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-06-05 10:46:52 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-06-05 10:46:52 +1000 |
commit | 838c483807dcab286dd4a9133de23c1ddcca92a2 (patch) | |
tree | e9be4b94d7a97c8710bcf2c990956c2534ade622 /include | |
parent | 371be0a114c46494f23b7150c8243788388b5b16 (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')
-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 16e5d4a46c4e..05bc13196582 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -952,6 +952,9 @@ extern int drive_is_ready(ide_drive_t *); void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); +ide_startstop_t ide_transfer_pc(ide_drive_t *, struct ide_atapi_pc *, + ide_handler_t *, unsigned int, ide_expiry_t *); + ide_startstop_t do_rw_taskfile(ide_drive_t *, ide_task_t *); void task_end_request(ide_drive_t *, struct request *, u8); |