off by 1. (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3508 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
28dff395ef
commit
bc5379aefd
|
@ -178,7 +178,7 @@ static void pci_scan_bus(int bus)
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
unsigned char hdr;
|
unsigned char hdr;
|
||||||
|
|
||||||
for (slot = 0; slot < 0x1f; slot++) {
|
for (slot = 0; slot < 0x20; slot++) {
|
||||||
for (func = 0; func < 8; func++) {
|
for (func = 0; func < 8; func++) {
|
||||||
pcidev_t dev = PCI_DEV(bus, slot, func);
|
pcidev_t dev = PCI_DEV(bus, slot, func);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue