]> git.baikalelectronics.ru Git - kernel.git/commit
pata_hpt366: fix cable detection,
authorTejun Heo <tj@kernel.org>
Tue, 9 Dec 2008 08:13:19 +0000 (17:13 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 16 Dec 2008 10:40:32 +0000 (05:40 -0500)
commit4801b45ea294e762c174521ba81d82a7456fa84b
treee6a33ecc8968c1e822ce08d9ffe79a72ae239eb1
parentc9bc7144c40ec4bcdad1f4c8ad26289f9f3f2961
pata_hpt366: fix cable detection,

pata_hpt366 is strange in that its two channels occupy two PCI
functions and both are primary channels and bit1 of PCI configuration
register 0x5A indicates cable for both channels.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt366.c