[PATCH] libata: use ata_id_xfermask() in ata_dev_configure()
authorTejun Heo <htejun@gmail.com>
Sun, 5 Mar 2006 19:31:56 +0000 (04:31 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 12 Mar 2006 00:03:39 +0000 (19:03 -0500)
commitff8854b2719b9d26f5d3e84db4f66eb7e35e4ed9
tree4db001403fc93b4c9620caa53efb7f9dec1105a6
parentcb95d562e40140572efbca809f372e608aff7326
[PATCH] libata: use ata_id_xfermask() in ata_dev_configure()

Replace quick & dirty max transfer mode determination in
ata_dev_configure() with ata_id_xfermask().  While at it, rename
xfer_modes variable to xfer_mask and make it unsigned int for
consistency.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c