From: Tejun Heo Date: Tue, 27 Nov 2007 10:43:41 +0000 (+0900) Subject: libata: kill ata_id_to_dma_mode() X-Git-Tag: v2.6.25-rc1~1233^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3501ab962b1506d93974faf8509251b4a85fbc;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed