aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ata_piix.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-05-06 12:10:08 -0400
committerJeff Garzik <jgarzik@redhat.com>2009-06-10 07:50:17 -0400
commit347979a034539ab20f3bc0c30ac0ccd3c4fd4c2e (patch)
tree5dfb54ea1aefb323b88ebe5404c83b7db27df478 /drivers/ata/ata_piix.c
parentd50ce07d6fd8a422757a231f9d7293cbddeaec31 (diff)
ata_piix: Turn on hotplugging support for older chips
We can't do this for the later ones as they have all sorts of magic boot time stuff that needs reviewing and the like. However we can do it for the older ones and it turns out we need to as some IBM docking stations have a second PIIX series device in them and without this change you can't use it very well Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ata_piix.c')
-rw-r--r--drivers/ata/ata_piix.c4
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)) {