diff options
author | Tejun Heo <htejun@gmail.com> | 2007-11-27 05:43:41 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:11 -0500 |
commit | 9d3501ab962b1506d93974faf8509251b4a85fbc (patch) | |
tree | a4785ca835e1b0ca5551167cf0ecf484eed8b71b /include/linux/libata.h | |
parent | 70cd071e4ecc06c985189665af75c108601fd5a3 (diff) |
libata: kill ata_id_to_dma_mode()
ata_id_to_dma_mode() isn't quite generic. The function is basically
privately implemented ata_id_xfermask() combined with hardcoded mode
printing and configuration which are specific to ata_generic.
Kill the function and open code it in generic_set_mode() using generic
xfermode handling functions.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index e2ed3bac8c5b..d33702fe78f9 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -890,7 +890,6 @@ extern void ata_id_string(const u16 *id, unsigned char *s, | |||
890 | unsigned int ofs, unsigned int len); | 890 | unsigned int ofs, unsigned int len); |
891 | extern void ata_id_c_string(const u16 *id, unsigned char *s, | 891 | extern void ata_id_c_string(const u16 *id, unsigned char *s, |
892 | unsigned int ofs, unsigned int len); | 892 | unsigned int ofs, unsigned int len); |
893 | extern void ata_id_to_dma_mode(struct ata_device *dev, u8 unknown); | ||
894 | extern void ata_bmdma_setup(struct ata_queued_cmd *qc); | 893 | extern void ata_bmdma_setup(struct ata_queued_cmd *qc); |
895 | extern void ata_bmdma_start(struct ata_queued_cmd *qc); | 894 | extern void ata_bmdma_start(struct ata_queued_cmd *qc); |
896 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); | 895 | extern void ata_bmdma_stop(struct ata_queued_cmd *qc); |