diff options
Diffstat (limited to 'drivers/ata/ata_piix.c')
-rw-r--r-- | drivers/ata/ata_piix.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 1aeb7082b0c4..d0a14cf2bd74 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -223,10 +223,8 @@ static const struct pci_device_id piix_pci_tbl[] = { | |||
223 | /* ICH8 Mobile PATA Controller */ | 223 | /* ICH8 Mobile PATA Controller */ |
224 | { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, | 224 | { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, |
225 | 225 | ||
226 | /* NOTE: The following PCI ids must be kept in sync with the | 226 | /* SATA ports */ |
227 | * list in drivers/pci/quirks.c. | 227 | |
228 | */ | ||
229 | |||
230 | /* 82801EB (ICH5) */ | 228 | /* 82801EB (ICH5) */ |
231 | { 0x8086, 0x24d1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_sata }, | 229 | { 0x8086, 0x24d1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_sata }, |
232 | /* 82801EB (ICH5) */ | 230 | /* 82801EB (ICH5) */ |
@@ -1509,8 +1507,8 @@ static int __devinit piix_init_one(struct pci_dev *pdev, | |||
1509 | dev_printk(KERN_DEBUG, &pdev->dev, | 1507 | dev_printk(KERN_DEBUG, &pdev->dev, |
1510 | "version " DRV_VERSION "\n"); | 1508 | "version " DRV_VERSION "\n"); |
1511 | 1509 | ||
1512 | /* no hotplugging support (FIXME) */ | 1510 | /* no hotplugging support for later devices (FIXME) */ |
1513 | if (!in_module_init) | 1511 | if (!in_module_init && ent->driver_data >= ich5_sata) |
1514 | return -ENODEV; | 1512 | return -ENODEV; |
1515 | 1513 | ||
1516 | if (piix_broken_system_poweroff(pdev)) { | 1514 | if (piix_broken_system_poweroff(pdev)) { |
@@ -1591,6 +1589,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev, | |||
1591 | host->ports[1]->mwdma_mask = 0; | 1589 | host->ports[1]->mwdma_mask = 0; |
1592 | host->ports[1]->udma_mask = 0; | 1590 | host->ports[1]->udma_mask = 0; |
1593 | } | 1591 | } |
1592 | host->flags |= ATA_HOST_PARALLEL_SCAN; | ||
1594 | 1593 | ||
1595 | pci_set_master(pdev); | 1594 | pci_set_master(pdev); |
1596 | return ata_pci_sff_activate_host(host, ata_sff_interrupt, &piix_sht); | 1595 | return ata_pci_sff_activate_host(host, ata_sff_interrupt, &piix_sht); |