diff options
author | Mark Lord <mlord@pobox.com> | 2009-02-25 15:18:32 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-24 22:02:41 -0400 |
commit | 1a660164c291f41b2aa853a7269b310933574ef9 (patch) | |
tree | ba113e3cb6579c45d4e11aede7d8714e9dde2b05 | |
parent | d16ab3f633b75aac1cf42b00355cd9aa65033dcc (diff) |
[libata] Export ata_pio_queue_task() so that it can be used from sata_mv.
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/ata/libata-core.c | 1 | ||||
-rw-r--r-- | drivers/ata/libata.h | 2 | ||||
-rw-r--r-- | include/linux/libata.h | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 060bcd601f57..d4a7b8a96ecd 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -6709,6 +6709,7 @@ EXPORT_SYMBOL_GPL(ata_id_c_string); | |||
6709 | EXPORT_SYMBOL_GPL(ata_do_dev_read_id); | 6709 | EXPORT_SYMBOL_GPL(ata_do_dev_read_id); |
6710 | EXPORT_SYMBOL_GPL(ata_scsi_simulate); | 6710 | EXPORT_SYMBOL_GPL(ata_scsi_simulate); |
6711 | 6711 | ||
6712 | EXPORT_SYMBOL_GPL(ata_pio_queue_task); | ||
6712 | EXPORT_SYMBOL_GPL(ata_pio_need_iordy); | 6713 | EXPORT_SYMBOL_GPL(ata_pio_need_iordy); |
6713 | EXPORT_SYMBOL_GPL(ata_timing_find_mode); | 6714 | EXPORT_SYMBOL_GPL(ata_timing_find_mode); |
6714 | EXPORT_SYMBOL_GPL(ata_timing_compute); | 6715 | EXPORT_SYMBOL_GPL(ata_timing_compute); |
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h index cea8014cd87e..89a1e0018e71 100644 --- a/drivers/ata/libata.h +++ b/drivers/ata/libata.h | |||
@@ -79,8 +79,6 @@ extern int ata_build_rw_tf(struct ata_taskfile *tf, struct ata_device *dev, | |||
79 | u64 block, u32 n_block, unsigned int tf_flags, | 79 | u64 block, u32 n_block, unsigned int tf_flags, |
80 | unsigned int tag); | 80 | unsigned int tag); |
81 | extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev); | 81 | extern u64 ata_tf_read_block(struct ata_taskfile *tf, struct ata_device *dev); |
82 | extern void ata_pio_queue_task(struct ata_port *ap, void *data, | ||
83 | unsigned long delay); | ||
84 | extern void ata_port_flush_task(struct ata_port *ap); | 82 | extern void ata_port_flush_task(struct ata_port *ap); |
85 | extern unsigned ata_exec_internal(struct ata_device *dev, | 83 | extern unsigned ata_exec_internal(struct ata_device *dev, |
86 | struct ata_taskfile *tf, const u8 *cdb, | 84 | struct ata_taskfile *tf, const u8 *cdb, |
diff --git a/include/linux/libata.h b/include/linux/libata.h index dc18b87ed722..19af7d22a7f8 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -1008,6 +1008,9 @@ extern int ata_cable_sata(struct ata_port *ap); | |||
1008 | extern int ata_cable_ignore(struct ata_port *ap); | 1008 | extern int ata_cable_ignore(struct ata_port *ap); |
1009 | extern int ata_cable_unknown(struct ata_port *ap); | 1009 | extern int ata_cable_unknown(struct ata_port *ap); |
1010 | 1010 | ||
1011 | extern void ata_pio_queue_task(struct ata_port *ap, void *data, | ||
1012 | unsigned long delay); | ||
1013 | |||
1011 | /* Timing helpers */ | 1014 | /* Timing helpers */ |
1012 | extern unsigned int ata_pio_need_iordy(const struct ata_device *); | 1015 | extern unsigned int ata_pio_need_iordy(const struct ata_device *); |
1013 | extern const struct ata_timing *ata_timing_find_mode(u8 xfer_mode); | 1016 | extern const struct ata_timing *ata_timing_find_mode(u8 xfer_mode); |