diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 62270f47468..335322f40c5 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1381,8 +1381,8 @@ int ide_host_register(struct ide_host *host, const struct ide_port_info *d, | |||
1381 | if (ide_probe_port(hwif) == 0) | 1381 | if (ide_probe_port(hwif) == 0) |
1382 | hwif->present = 1; | 1382 | hwif->present = 1; |
1383 | 1383 | ||
1384 | if (hwif->chipset != ide_4drives || !hwif->mate || | 1384 | if ((hwif->host_flags & IDE_HFLAG_4DRIVES) == 0 || |
1385 | !hwif->mate->present) { | 1385 | hwif->mate == NULL || hwif->mate->present == 0) { |
1386 | if (ide_register_port(hwif)) { | 1386 | if (ide_register_port(hwif)) { |
1387 | ide_disable_port(hwif); | 1387 | ide_disable_port(hwif); |
1388 | continue; | 1388 | continue; |