diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 5f545153391a..67ce697a9d51 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -255,7 +255,7 @@ ide_hwif_t * ide_find_port(unsigned long base) | |||
255 | 255 | ||
256 | for (i = 0; i < MAX_HWIFS; i++) { | 256 | for (i = 0; i < MAX_HWIFS; i++) { |
257 | hwif = &ide_hwifs[i]; | 257 | hwif = &ide_hwifs[i]; |
258 | if (hwif->io_ports[IDE_DATA_OFFSET] == 0) | 258 | if (hwif->chipset == ide_unknown) |
259 | goto found; | 259 | goto found; |
260 | } | 260 | } |
261 | 261 | ||