diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-06-05 10:46:53 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-06-05 10:46:53 +1000 |
commit | 5787c6bf0b538e22a2ad79b7d78548fe8da9d436 (patch) | |
tree | c2b6deab1e4565ac65ce1107532918f1d389c227 /include | |
parent | 6b9a9e6c510e0ec628b24541804f2a26839cbc6d (diff) |
ide: add ide_issue_pc() helper
Add generic ide_issue_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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 0bc8155eadf4..0492a55082cb 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -955,6 +955,8 @@ 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 ide_issue_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 *); |