aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/ata_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/ata_generic.c')
-rw-r--r--drivers/ata/ata_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c
index 7df56ec31819..aae115600b74 100644
--- a/drivers/ata/ata_generic.c
+++ b/drivers/ata/ata_generic.c
@@ -177,7 +177,7 @@ static int ata_generic_init_one(struct pci_dev *dev, const struct pci_device_id
177 if ((id->driver_data & ATA_GEN_CLASS_MATCH) && all_generic_ide == 0) 177 if ((id->driver_data & ATA_GEN_CLASS_MATCH) && all_generic_ide == 0)
178 return -ENODEV; 178 return -ENODEV;
179 179
180 if (id->driver_data & ATA_GEN_INTEL_IDER) 180 if ((id->driver_data & ATA_GEN_INTEL_IDER) && !all_generic_ide)
181 if (!is_intel_ider(dev)) 181 if (!is_intel_ider(dev))
182 return -ENODEV; 182 return -ENODEV;
183 183