commit | 9d3501ab962b1506d93974faf8509251b4a85fbc | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Tue Nov 27 19:43:41 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Jan 23 05:24:11 2008 -0500 |
tree | a4785ca835e1b0ca5551167cf0ecf484eed8b71b | |
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>