summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-05-18 20:28:15 +0000
committerdfr <dfr@FreeBSD.org>2000-05-18 20:28:15 +0000
commitbb3ccd98cb40d3256e92259f70a678833c38c05b (patch)
tree49bf3c1a8d7c01d33e64ee7de2f42dc3dbb0f678 /sys/pci/pci.c
parent3836de47f4afa78f31812e2d6b7a9e167ebdcf73 (diff)
downloadFreeBSD-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
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
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");
OpenPOWER on IntegriCloud