]> git.baikalelectronics.ru Git - kernel.git/commit
pata_hpt3x2n: fix cable detection
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Thu, 19 Nov 2009 17:38:11 +0000 (18:38 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 07:46:35 +0000 (02:46 -0500)
commite20ddbb2a4283dc5f207f0bb914111b5b52cb072
tree19611838f13ff13218d6cd8db9a1fc08658d0cc5
parentfea9cfbd1710fce13093bbc5555d70e3a1c59eb3
pata_hpt3x2n: fix cable detection

The detection was reversed between primary and secondary ports.

Fix it to match hpt366 and the vendor driver.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt3x2n.c