diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2000-05-18 20:28:15 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2000-05-18 20:28:15 +0000 |
commit | 2e9a65c4741084092e681188e897cf445a91a6f2 (patch) | |
tree | 9083914584527073503b2785835aff47c6da44ba /sys/pci/pci.c | |
parent | 1940c51aacdb76faa27bf823c6a66c355b950955 (diff) |
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/pci/pci.c')
-rw-r--r-- | sys/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/pci.c b/sys/pci/pci.c index c3c506c25def..aa58b8aa4eb8 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"); |