[PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers
authorTejun Heo <htejun@gmail.com>
Sun, 5 Mar 2006 19:31:57 +0000 (04:31 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 12 Mar 2006 00:03:39 +0000 (19:03 -0500)
commita6d5a51cf1bf5d83ddd2e06fd372a79b395fb393
tree4dd9a341ed20444d9b66b9032b8d332069f54220
parent23e71c3d3e88b9f554ecd47d6f9aec76e89e2e6d
[PATCH] libata: reimplement ata_set_mode() using xfer_mask helpers

Use xfer_mask helpers to determine transfer mode.  This rewrite also
makes transfer mode determination done before any actual
configuration.  This patch doesn't result in any functional changes.

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