Print the correct value for the map type on a verbose boot.
PR: kern/18662 Submitted by: tamaru@ap.t.u-tokyo.ac.jp
This commit is contained in:
parent
1940c51aac
commit
2e9a65c474
@ -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");
|
||||
|
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user