summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-04-16 04:53:19 +0000
committerimp <imp@FreeBSD.org>2004-04-16 04:53:19 +0000
commit9a99d11bb4bc25a7382d2282693257c8614e8255 (patch)
treed3cdc0ddcc6637589ad16f8c63ec9567cf3783a4
parent76cce3c9b2a2922bd96c64e7866272ab846b998c (diff)
downloadFreeBSD-src-9a99d11bb4bc25a7382d2282693257c8614e8255.zip
FreeBSD-src-9a99d11bb4bc25a7382d2282693257c8614e8255.tar.gz
make the bad bar warning less scary, and toss it behind a bootverbose.
It is harmless, but freaking people out.
-rw-r--r--sys/dev/pci/pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 98abf8a..7cbb5fc 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1498,8 +1498,9 @@ pci_alloc_map(device_t dev, device_t child, int type, int *rid,
flags = (flags & ~RF_ALIGNMENT_MASK) | RF_ALIGNMENT_LOG2(mapsize);
}
else {
- /* if (bootverbose) */
- device_printf(child, "BAD BAR: skipping checks\n");
+ if (bootverbose)
+ device_printf(child,
+ "ZERO BAR: resource checks suppressed.\n");
}
/*
OpenPOWER on IntegriCloud