[PATCH] libata: check Word 88 validity in ata_id_xfer_mask()
authorTejun Heo <htejun@gmail.com>
Sun, 12 Mar 2006 03:34:35 +0000 (12:34 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 12 Mar 2006 17:51:11 +0000 (12:51 -0500)
commitfb21f0d0ec7e31cc814165e1a9d2662d9c9dd980
tree6acfd767e12c93b9b710d6b90b47f630fcbecbc2
parent2044470cccec1bfe6bb819027975df302ff43bf8
[PATCH] libata: check Word 88 validity in ata_id_xfer_mask()

Check bit 2 of Word 53 for Word 88 validity before using Word 88 to
determine UDMA mask.  Note that the original xfer mask implementation
using ata_get_mode_mask() didn't consider bit 2 of Word 53.  This
patch introduces different (correct) behavior.

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