ata_piix: Turn on hotplugging support for older chips
[deliverable/linux.git] / drivers / ata / ata_piix.c
index 1aeb7082b0c4e34faecfb1d9f92ae14fbec766ca..716e369f39ba8be34d5d243ed2376722de741c6a 100644 (file)
@@ -1509,8 +1509,8 @@ static int __devinit piix_init_one(struct pci_dev *pdev,
                dev_printk(KERN_DEBUG, &pdev->dev,
                           "version " DRV_VERSION "\n");
 
-       /* no hotplugging support (FIXME) */
-       if (!in_module_init)
+       /* no hotplugging support for later devices (FIXME) */
+       if (!in_module_init && ent->driver_data >= ich5_sata)
                return -ENODEV;
 
        if (piix_broken_system_poweroff(pdev)) {
This page took 0.042193 seconds and 5 git commands to generate.