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:
Stefan Reinauer 2008-08-13 09:38:12 +00:00 committed by Stefan Reinauer
parent 28dff395ef
commit bc5379aefd
1 changed files with 1 additions and 1 deletions

View File

@ -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);