summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 22:17:13 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 22:17:13 +0100
commit2fc573881957337c4ea1c84b92d2f27d076cad57 (patch)
tree790726063934a7ea8c384f2314d44bc03b22f779 /include
parentide-{floppy,tape,scsi}: fix register loading order when issuing packet command (diff)
downloadlinux-2fc573881957337c4ea1c84b92d2f27d076cad57.tar.xz
linux-2fc573881957337c4ea1c84b92d2f27d076cad57.zip
ide: add ide_pktcmd_tf_load() helper
Add ide_pktcmd_tf_load() helper and convert ATAPI device drivers to use it. There should be no functionality changes caused by this patch. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 790ffa7f6949..20969eb1789a 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -968,6 +968,8 @@ extern void QUIRK_LIST(ide_drive_t *);
extern int drive_is_ready(ide_drive_t *);
+void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8);
+
/*
* taskfile io for disks for now...and builds request from ide_ioctl
*/