Bug 18662

Summary: PCI probe shows wrong values in verbose boot
Product: Base System Reporter: tamaru <tamaru>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description tamaru 2000-05-18 18:30:03 UTC
/usr/src/sys/pci/pci.c has a typo in function pci_add_map.
See the Fix field

Fix: 

--- pci.c       2000/05/11 09:41:54     1.1.1.1
+++ pci.c       2000/05/18 17:16:23
@@ -1086,7 +1086,7 @@

        if (bootverbose) {
                printf("\tmap[%02x]: type %x, range %2d, base %08x, size %2d\n",
-                      reg, pci_maptype(base), ln2range,
+                      reg, pci_maptype(map), ln2range,
                       (unsigned int) base, ln2size);
        }
How-To-Repeat: Boot the kernel in verbose mode.
Watch the PCI probe where it shows the memory and port maps.
The type field is always 1
Comment 1 dfr freebsd_committer freebsd_triage 2000-05-18 21:29:30 UTC
State Changed
From-To: open->closed

Fixed in revision 1.149 of sys/pci/pci.c