commit | bab5b32a537edc83ff86bff91e46f328339f49f8 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Tue Dec 09 17:13:19 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Tue Dec 16 05:40:32 2008 -0500 |
tree | e6a33ecc8968c1e822ce08d9ffe79a72ae239eb1 | |
parent | d10d491f842243e2e3bf5a2714020f9d649e1e38 [diff] |
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>