aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ata/ahci.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 966ab401e523..29f34d03bd75 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -653,6 +653,14 @@ static void ahci_save_initial_config(struct pci_dev *pdev,
653 cap &= ~HOST_CAP_PMP; 653 cap &= ~HOST_CAP_PMP;
654 } 654 }
655 655
656 if (pdev->vendor == PCI_VENDOR_ID_JMICRON && pdev->device == 0x2361 &&
657 port_map != 1) {
658 dev_printk(KERN_INFO, &pdev->dev,
659 "JMB361 has only one port, port_map 0x%x -> 0x%x\n",
660 port_map, 1);
661 port_map = 1;
662 }
663
656 /* 664 /*
657 * Temporary Marvell 6145 hack: PATA port presence 665 * Temporary Marvell 6145 hack: PATA port presence
658 * is asserted through the standard AHCI port 666 * is asserted through the standard AHCI port