pata_amd: fix an obvious bug in cable detection
commite3844c2df6b122e494e77ab507ae96553160c006
authorTejun Heo <htejun@gmail.com>
Mon, 5 Feb 2007 08:01:28 +0000 (5 17:01 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:17 +0000 (9 10:50 -0800)
tree9caa2e6cb3dd73a71feffb0ae8a54708ea783621
parentbbf22c56d0943d4860f0bee21863708f2d3f962a
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