pci: re-initialize the lookup device for each bus
The current scan loop does not re-initialize the device number, so only the first bus is scanned. Change-Id: I9dc97cecd5652c353b09ab5692f59f562436f902 Signed-off-by: Ido Yariv <idox.yariv@intel.com> Signed-off-by: Ido Yariv <ido@wizery.com>
This commit is contained in:
parent
e4ddf68561
commit
e77df3fa30
1 changed files with 1 additions and 0 deletions
|
@ -387,6 +387,7 @@ int pci_bus_scan(struct pci_dev_info *dev_info)
|
|||
lookup.func = 0;
|
||||
}
|
||||
}
|
||||
lookup.dev = 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue