Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105016
b: refs/heads/master
c: edc74b2
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 23, 2008
1 parent 51edc42 commit 717f3c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 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: 73dc532bc1eebe3bff6b918c5685a219eae27f97
refs/heads/master: edc74b247bedb3a1f80eb6371d4171f2d49c1c77
8 changes: 1 addition & 7 deletions trunk/drivers/ide/ide-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,9 @@ static int __init ide_generic_init(void)
continue;
}

/*
* Skip probing if the corresponding
* slot is already occupied.
*/
hwif = ide_find_port();
if (hwif == NULL || hwif->index != i) {
idx[i] = 0xff;
if (hwif == NULL)
continue;
}

hwif->chipset = ide_generic;

Expand Down

0 comments on commit 717f3c3

Please sign in to comment.