diff options
-rw-r--r-- | sys/dev/pci/pci.c | 2 | ||||
-rw-r--r-- | sys/pci/pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index c3c506c..aa58b8a 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1083,7 +1083,7 @@ pci_add_map(device_t dev, pcicfgregs* cfg, int reg) #endif if (bootverbose) { printf("\tmap[%02x]: type %x, range %2d, base %08x, size %2d", - reg, pci_maptype(base), ln2range, + reg, pci_maptype(map), ln2range, (unsigned int) base, ln2size); if (type == SYS_RES_IOPORT && !pci_porten(cfg)) printf(", port disabled\n"); diff --git a/sys/pci/pci.c b/sys/pci/pci.c index c3c506c..aa58b8a 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -1083,7 +1083,7 @@ pci_add_map(device_t dev, pcicfgregs* cfg, int reg) #endif if (bootverbose) { printf("\tmap[%02x]: type %x, range %2d, base %08x, size %2d", - reg, pci_maptype(base), ln2range, + reg, pci_maptype(map), ln2range, (unsigned int) base, ln2size); if (type == SYS_RES_IOPORT && !pci_porten(cfg)) printf(", port disabled\n"); |