]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit7a0f1c8a4b1052da7efc7715e2e557255b632712
tree18c8e67ea96005ce138c44f8df12b4a3e26becd1
parent5dcade90db19205b9ebb8241a22664560973f81a
ata_if_xfermask() word 51 fix

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