Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87045
b: refs/heads/master
c: 0c6025d
h: refs/heads/master
i:
  87043: 6119acc
v: v3
  • Loading branch information
Peter Teoh authored and Bartlomiej Zolnierkiewicz committed Mar 7, 2008
1 parent 6ca759b commit 76816b5
Show file tree
Hide file tree
Showing 2 changed files with 2 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: ef4298d0f06c788d204caa9e395de6e9e2fd9fc9
refs/heads/master: 0c6025d44448bd688dfd351a09bc620aafa4d1ff
2 changes: 1 addition & 1 deletion trunk/drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,14 +667,14 @@ int ide_register_hw(hw_regs_t *hw, void (*quirkproc)(ide_drive_t *),

do {
hwif = ide_deprecated_find_port(hw->io_ports[IDE_DATA_OFFSET]);
index = hwif->index;
if (hwif)
goto found;
for (index = 0; index < MAX_HWIFS; index++)
ide_unregister(index, 1, 1);
} while (retry--);
return -1;
found:
index = hwif->index;
if (hwif->present)
ide_unregister(index, 0, 1);
else if (!hwif->hold)
Expand Down

0 comments on commit 76816b5

Please sign in to comment.