diff options
author | dfr <dfr@FreeBSD.org> | 2000-05-18 20:28:15 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2000-05-18 20:28:15 +0000 |
commit | bb3ccd98cb40d3256e92259f70a678833c38c05b (patch) | |
tree | 49bf3c1a8d7c01d33e64ee7de2f42dc3dbb0f678 | |
parent | 3836de47f4afa78f31812e2d6b7a9e167ebdcf73 (diff) | |
download | FreeBSD-src-bb3ccd98cb40d3256e92259f70a678833c38c05b.zip FreeBSD-src-bb3ccd98cb40d3256e92259f70a678833c38c05b.tar.gz |
Print the correct value for the map type on a verbose boot.
PR: kern/18662
Submitted by: tamaru@ap.t.u-tokyo.ac.jp
-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"); |