summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan <alan@lxorguk.ukuu.org.uk>2007-02-20 18:01:59 +0000
committerJeff Garzik <jeff@garzik.org>2007-02-25 15:41:40 -0500
commit10305f0f8e642590c69674d08bd22accef610aed (patch)
tree81caa503dd092150229f63efbb2f59ad924a8bc7 /include
parent098cdff3d40286f87062c17cd07e98ca7ad94184 (diff)
downloadlinux-3.10-10305f0f8e642590c69674d08bd22accef610aed.tar.gz
linux-3.10-10305f0f8e642590c69674d08bd22accef610aed.tar.bz2
linux-3.10-10305f0f8e642590c69674d08bd22accef610aed.zip
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 1f2099de051..045fb3a72d5 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,
extern void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
unsigned int n_elem);
extern unsigned int ata_dev_classify(const struct ata_taskfile *tf);
+extern void ata_dev_disable(struct ata_device *adev);
extern void ata_id_string(const u16 *id, unsigned char *s,
unsigned int ofs, unsigned int len);
extern void ata_id_c_string(const u16 *id, unsigned char *s,
unsigned int ofs, unsigned int len);
+extern void ata_id_to_dma_mode(struct ata_device *dev, u8 unknown);
extern unsigned long ata_device_blacklisted(const struct ata_device *dev);
extern void ata_bmdma_setup (struct ata_queued_cmd *qc);
extern void ata_bmdma_start (struct ata_queued_cmd *qc);