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)
commitf3b1cf40d4012351d793793b2965aca57cc9fdd5
tree19611838f13ff13218d6cd8db9a1fc08658d0cc5
parent6a74463798bde03f849d8d82d97e4f8e4cf160f3
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