[coreboot] r3508 - trunk/payloads/coreinfo

svn at coreboot.org svn at coreboot.org
Wed Aug 13 11:38:14 CEST 2008


Author: stepan
Date: 2008-08-13 11:38:12 +0200 (Wed, 13 Aug 2008)
New Revision: 3508

Modified:
   trunk/payloads/coreinfo/pci_module.c
Log:
off by 1. (trivial)

Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>



Modified: trunk/payloads/coreinfo/pci_module.c
===================================================================
--- trunk/payloads/coreinfo/pci_module.c	2008-08-13 08:23:06 UTC (rev 3507)
+++ trunk/payloads/coreinfo/pci_module.c	2008-08-13 09:38:12 UTC (rev 3508)
@@ -178,7 +178,7 @@
 	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);
 





More information about the coreboot mailing list