aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-generic.c')
-rw-r--r--drivers/ide/ide-generic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ide-generic.c b/drivers/ide/ide-generic.c
index 387574fe4b2b..bae41459192d 100644
--- a/drivers/ide/ide-generic.c
+++ b/drivers/ide/ide-generic.c
@@ -93,8 +93,7 @@ static int __init ide_generic_init(void)
93 ide_hwif_t *hwif = &ide_hwifs[i]; 93 ide_hwif_t *hwif = &ide_hwifs[i];
94 94
95 if (hwif->io_ports[IDE_DATA_OFFSET] && 95 if (hwif->io_ports[IDE_DATA_OFFSET] &&
96 (hwif->chipset == ide_unknown || 96 hwif->chipset == ide_unknown)
97 hwif->chipset == ide_forced))
98 idx[i] = i; 97 idx[i] = i;
99 else 98 else
100 idx[i] = 0xff; 99 idx[i] = 0xff;