[PATCH] libata: add xfer_mask handling functions
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)
commitcb95d562e40140572efbca809f372e608aff7326
tree3ffa5b34bdce55dd387fdb1be0412555a642ac6f
parent1da7b0d01b20bf21f3263d8d2f17fa49a214d773
[PATCH] libata: add xfer_mask handling functions

Add ata_pack_xfermask(), ata_xfer_mask2mode(), ata_xfer_mode2mask(),
ata_xfer_mode2shift() and ata_id_xfermask().  These functions will be
used by following patches to simplify xfer_mask handling.

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