Author: rminnich Date: 2008-08-30 07:01:43 +0200 (Sat, 30 Aug 2008) New Revision: 850
Modified: coreboot-v3/arch/x86/pci_ops_conf1.c Log: Fix a really stupid error on my part :-)
Signed-off-by: Ronald G. Minnich rminnich@gmail.com Acked-by: Ronald G. Minnich rminnich@gmail.com
Modified: coreboot-v3/arch/x86/pci_ops_conf1.c =================================================================== --- coreboot-v3/arch/x86/pci_ops_conf1.c 2008-08-30 04:20:03 UTC (rev 849) +++ coreboot-v3/arch/x86/pci_ops_conf1.c 2008-08-30 05:01:43 UTC (rev 850) @@ -118,10 +118,11 @@ u32 val; u8 hdr; int bdf = bus << 16; - + printk(BIOS_SPEW, "pci_conf1_find_on_bus: bus %d, find 0x%04x:%04x\n", + bus, vid, did); /* skip over all the functions in a device -- * multifunction devices always have one vendor */ - for (devfn = 0; devfn < 0x100; devfn += 8) { + for (devfn = 0; devfn < 0x100; devfn += 1) { u32 confaddr = bdf | (devfn << 8); val = pci_conf1_read_config32(confaddr, PCI_VENDOR_ID);