off by 1. (trivial)
authorStefan Reinauer <stepan@coresystems.de>
Wed, 13 Aug 2008 09:38:12 +0000 (09:38 +0000)
committerStefan Reinauer <stepan@openbios.org>
Wed, 13 Aug 2008 09:38:12 +0000 (09:38 +0000)
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

payloads/coreinfo/pci_module.c

index c3400ae0a99ecee5f72e1b579332d8af92d9d767..3407cbe86d3c41eb2b6bc687a7053520c1dd1e85 100644 (file)
@@ -178,7 +178,7 @@ static void pci_scan_bus(int bus)
        unsigned int val;
        unsigned char hdr;
 
-       for (slot = 0; slot < 0x1f; slot++) {
+       for (slot = 0; slot < 0x20; slot++) {
                for (func = 0; func < 8; func++) {
                        pcidev_t dev = PCI_DEV(bus, slot, func);