From a0ac46cc725353ac22f0aae1502386d2cc11abfa Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 6 May 2009 17:10:08 +0100 Subject: [PATCH] --- yaml --- r: 147100 b: refs/heads/master c: 347979a034539ab20f3bc0c30ac0ccd3c4fd4c2e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/ata/ata_piix.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 84991209de88..b3207f85bbae 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d50ce07d6fd8a422757a231f9d7293cbddeaec31 +refs/heads/master: 347979a034539ab20f3bc0c30ac0ccd3c4fd4c2e diff --git a/trunk/drivers/ata/ata_piix.c b/trunk/drivers/ata/ata_piix.c index 1aeb7082b0c4..716e369f39ba 100644 --- a/trunk/drivers/ata/ata_piix.c +++ b/trunk/drivers/ata/ata_piix.c @@ -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)) {