diff options
Diffstat (limited to 'drivers/ata/ata_piix.c')
-rw-r--r-- | drivers/ata/ata_piix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 1aeb7082b0c4..716e369f39ba 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -1509,8 +1509,8 @@ static int __devinit piix_init_one(struct pci_dev *pdev, | |||
1509 | dev_printk(KERN_DEBUG, &pdev->dev, | 1509 | dev_printk(KERN_DEBUG, &pdev->dev, |
1510 | "version " DRV_VERSION "\n"); | 1510 | "version " DRV_VERSION "\n"); |
1511 | 1511 | ||
1512 | /* no hotplugging support (FIXME) */ | 1512 | /* no hotplugging support for later devices (FIXME) */ |
1513 | if (!in_module_init) | 1513 | if (!in_module_init && ent->driver_data >= ich5_sata) |
1514 | return -ENODEV; | 1514 | return -ENODEV; |
1515 | 1515 | ||
1516 | if (piix_broken_system_poweroff(pdev)) { | 1516 | if (piix_broken_system_poweroff(pdev)) { |