From 9a99d11bb4bc25a7382d2282693257c8614e8255 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 16 Apr 2004 04:53:19 +0000 Subject: make the bad bar warning less scary, and toss it behind a bootverbose. It is harmless, but freaking people out. --- sys/dev/pci/pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') 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"); } /* -- cgit v1.1