diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:51 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:51 -0400 |
commit | c6dfa867bb45f4bff2e48f3bc89ab1d6a7ab4c21 (patch) | |
tree | 54d9322fad75e48fb548e182fbb87d06a06cd048 /include | |
parent | ebb00fb55d0566bb3e81518122a57b4b3bedf1e4 (diff) |
ide: add ->exec_command method
Add ->exec_command method for writing ATA Command register
and use it instead of ->OUTBSYNC.
There should be no functional changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ide.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index a179a7f6e444..d77c1994d0e3 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -489,7 +489,8 @@ typedef struct hwif_s { | |||
489 | const struct ide_port_ops *port_ops; | 489 | const struct ide_port_ops *port_ops; |
490 | const struct ide_dma_ops *dma_ops; | 490 | const struct ide_dma_ops *dma_ops; |
491 | 491 | ||
492 | u8 (*read_sff_dma_status)(struct hwif_s *); | 492 | void (*exec_command)(struct hwif_s *, u8); |
493 | u8 (*read_sff_dma_status)(struct hwif_s *); | ||
493 | 494 | ||
494 | void (*tf_load)(ide_drive_t *, struct ide_task_s *); | 495 | void (*tf_load)(ide_drive_t *, struct ide_task_s *); |
495 | void (*tf_read)(ide_drive_t *, struct ide_task_s *); | 496 | void (*tf_read)(ide_drive_t *, struct ide_task_s *); |