Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89307
b: refs/heads/master
c: ce9b248
h: refs/heads/master
i:
  89305: 607e447
  89303: 339be35
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Apr 17, 2008
1 parent 9c87608 commit e473d2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a594eeb1a1d320981fccc29584b6f21fcebd765f
refs/heads/master: ce9b248bb451134fcb41e189e83e3838fb57caf0
4 changes: 3 additions & 1 deletion trunk/drivers/ide/ide-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ static int __init ide_generic_init(void)
for (i = 0; i < MAX_HWIFS; i++) {
ide_hwif_t *hwif = &ide_hwifs[i];

if (hwif->io_ports[IDE_DATA_OFFSET] && !hwif->present)
if (hwif->io_ports[IDE_DATA_OFFSET] &&
(hwif->chipset == ide_unknown ||
hwif->chipset == ide_forced))
idx[i] = i;
else
idx[i] = 0xff;
Expand Down

0 comments on commit e473d2a

Please sign in to comment.