aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2000-05-18 20:28:15 +0000
committerDoug Rabson <dfr@FreeBSD.org>2000-05-18 20:28:15 +0000
commit2e9a65c4741084092e681188e897cf445a91a6f2 (patch)
tree9083914584527073503b2785835aff47c6da44ba /sys/dev/pci
parent1940c51aacdb76faa27bf823c6a66c355b950955 (diff)
downloadsrc-2e9a65c4741084092e681188e897cf445a91a6f2.tar.gz
src-2e9a65c4741084092e681188e897cf445a91a6f2.zip
Print the correct value for the map type on a verbose boot.
PR: kern/18662 Submitted by: tamaru@ap.t.u-tokyo.ac.jp
Notes
Notes: svn path=/head/; revision=60686
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index c3c506c25def..aa58b8aa4eb8 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");