diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:13 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-25 16:17:13 -0500 |
commit | 2fc573881957337c4ea1c84b92d2f27d076cad57 (patch) | |
tree | 790726063934a7ea8c384f2314d44bc03b22f779 /include/linux | |
parent | 932aead6d21b631b2058255981824008a6eae32e (diff) |
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/linux')
-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 790ffa7f6949..20969eb1789a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -968,6 +968,8 @@ extern void QUIRK_LIST(ide_drive_t *); | |||
968 | 968 | ||
969 | extern int drive_is_ready(ide_drive_t *); | 969 | extern int drive_is_ready(ide_drive_t *); |
970 | 970 | ||
971 | void ide_pktcmd_tf_load(ide_drive_t *, u32, u16, u8); | ||
972 | |||
971 | /* | 973 | /* |
972 | * taskfile io for disks for now...and builds request from ide_ioctl | 974 | * taskfile io for disks for now...and builds request from ide_ioctl |
973 | */ | 975 | */ |