aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-probe.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 817564fba820..a7a1cd85f15d 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1405,8 +1405,12 @@ int ide_device_add(u8 idx[4])
1405 1405
1406 hwif = &ide_hwifs[idx[i]]; 1406 hwif = &ide_hwifs[idx[i]];
1407 1407
1408 if (hwif->present) 1408 if (hwif->present) {
1409 if (hwif->chipset == ide_unknown ||
1410 hwif->chipset == ide_forced)
1411 hwif->chipset = ide_generic;
1409 hwif_register_devices(hwif); 1412 hwif_register_devices(hwif);
1413 }
1410 } 1414 }
1411 1415
1412 for (i = 0; i < 4; i++) { 1416 for (i = 0; i < 4; i++) {