E1000 - pci probing
- once we know it is not an Intel device, it is not a match
This commit is contained in:
parent
123cf7fe37
commit
6dea092dec
1 changed files with 6 additions and 3 deletions
|
@ -250,11 +250,13 @@ PRIVATE int e1000_probe(e1000_t *e, int skip)
|
|||
/* Loop devices on the PCI bus. */
|
||||
for(;;)
|
||||
{
|
||||
E1000_DEBUG(3, ("%s: probe() devind %d vid 0x%x did 0x%x\n",
|
||||
e->name, devind, vid, did));
|
||||
if (vid != 0x8086)
|
||||
goto get_next;
|
||||
|
||||
for (i = 0; pcitab_e1000[i] != 0; i++)
|
||||
{
|
||||
if (vid != 0x8086)
|
||||
continue;
|
||||
|
||||
if (did != pcitab_e1000[i])
|
||||
continue;
|
||||
else
|
||||
|
@ -267,6 +269,7 @@ PRIVATE int e1000_probe(e1000_t *e, int skip)
|
|||
skip--;
|
||||
}
|
||||
|
||||
get_next:
|
||||
if (!(r = pci_next_dev(&devind, &vid, &did)))
|
||||
{
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue