pata_amd: fix an obvious bug in cable detection
commit2dd8345ab6b85727a7a14bfbc827430dabd2da4d
authorTejun Heo <htejun@gmail.com>
Mon, 5 Feb 2007 08:01:28 +0000 (5 17:01 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 24 Feb 2007 00:24:26 +0000 (23 16:24 -0800)
tree08400ec2aa9debeb30c99ecc5c5809e30295c5c8
parentae6f125b80de14821a5e3316c9cc27adff9e733a
pata_amd: fix an obvious bug in cable detection

80c test mask is at bits 18 and 19 of EIDE Controller Configuration
not 22 and 23.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
drivers/ata/pata_amd.c