pata_marvell: merge Mandriva patches
PATCH 1/1 pata_marvell: merge Mandriva patches
Correct and complete the Marvell PATA cable detection logic.
From: Arnaud Patard <[email protected]>
Signed-off-by Arnaud Patard <[email protected]>
Signed-off-by Alan Cox <[email protected]>
drivers/ata/pata_marvell.c +3 -3
@@ -57,11 +57,11 @@switch (ap->port_no) {case 0 : -/* Might be backward, docs unclear */ if (inb (ap->ioaddr.bmdma_addr +1 ) &1 ) - ap->cbl =ATA_CBL_PATA80 ; -else ap->cbl =ATA_CBL_PATA40 ; +else + ap->cbl =ATA_CBL_PATA80 ; +break ;case 1 :/* Legacy SATA port */ ap->cbl =ATA_CBL_SATA ;