aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlan <alan@lxorguk.ukuu.org.uk>2007-02-20 13:01:59 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-25 15:41:40 -0500
commit10305f0f8e642590c69674d08bd22accef610aed (patch)
tree81caa503dd092150229f63efbb2f59ad924a8bc7 /include
parent098cdff3d40286f87062c17cd07e98ca7ad94184 (diff)
Add id_to_dma_mode function for printing DMA modes
Also export dev_disable as this is needed by drivers doing slave decode filtering, which will follow shortly Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 1f2099de0511..045fb3a72d59 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -788,10 +788,12 @@ extern void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf,
788extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg, 788extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
789 unsigned int n_elem); 789 unsigned int n_elem);
790extern unsigned int ata_dev_classify(const struct ata_taskfile *tf); 790extern unsigned int ata_dev_classify(const struct ata_taskfile *tf);
791extern void ata_dev_disable(struct ata_device *adev);
791extern void ata_id_string(const u16 *id, unsigned char *s, 792extern void ata_id_string(const u16 *id, unsigned char *s,
792 unsigned int ofs, unsigned int len); 793 unsigned int ofs, unsigned int len);
793extern void ata_id_c_string(const u16 *id, unsigned char *s, 794extern void ata_id_c_string(const u16 *id, unsigned char *s,
794 unsigned int ofs, unsigned int len); 795 unsigned int ofs, unsigned int len);
796extern void ata_id_to_dma_mode(struct ata_device *dev, u8 unknown);
795extern unsigned long ata_device_blacklisted(const struct ata_device *dev); 797extern unsigned long ata_device_blacklisted(const struct ata_device *dev);
796extern void ata_bmdma_setup (struct ata_queued_cmd *qc); 798extern void ata_bmdma_setup (struct ata_queued_cmd *qc);
797extern void ata_bmdma_start (struct ata_queued_cmd *qc); 799extern void ata_bmdma_start (struct ata_queued_cmd *qc);