pata_amd: fix an obvious bug in cable detection
authorTejun Heo <htejun@gmail.com>
Mon, 5 Feb 2007 08:01:28 +0000 (17:01 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 25 Feb 2007 01:52:12 +0000 (20:52 -0500)
commitf1da66e7592c978d9122cb05d8eada1bd900de1a
tree38f68523b0cc4feb66987f4f53a0e7752e027a7b
parentec09150303479aff2bbe5ca5fcb714336b973074
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>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_amd.c