ata_if_xfermask() word 51 fix
authorLennert Buytenhek <buytenh@wantstofly.org>
Mon, 29 Jan 2007 12:28:47 +0000 (13:28 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 30 Jan 2007 14:14:56 +0000 (09:14 -0500)
If word 53 bit 1 isn't set, the maximum PIO mode is indicated by
the upper 8 bits of word 51, not the lower 8 bits.  Fixes PIO mode
detection on old Compact Flash cards.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c

Simple merge