[PATCH] libata: improve xfer mask constants and update ata_mode_string()
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:38 +0000 (19:03 -0500)
commit1da7b0d01b20bf21f3263d8d2f17fa49a214d773
treeed68984a55447d5620adbe885d9479bf96213bd6
parent2e755f68ee23b03484fde18d978f910cc5479cb8
[PATCH] libata: improve xfer mask constants and update ata_mode_string()

Add ATA_BITS_*, ATA_MASK_* macros and reorder xfer_mask fields such
that higher transfer mode is placed at higher order bit.  As thie
reordering breaks ata_mode_string(), this patch also rewrites
ata_mode_string().

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