diff options
author | jhb <jhb@FreeBSD.org> | 2002-09-23 18:13:42 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-09-23 18:13:42 +0000 |
commit | f05f2dae0652e6fcbd1008e2551ec87c4876645f (patch) | |
tree | 6cd118f6a0be5e7343dcc9c5e9f4b08a1902f0f8 /sys/amd64/pci | |
parent | e3273ff5b0022b8d058b3f317c0778568a5c5f11 (diff) | |
download | FreeBSD-src-f05f2dae0652e6fcbd1008e2551ec87c4876645f.zip FreeBSD-src-f05f2dae0652e6fcbd1008e2551ec87c4876645f.tar.gz |
Put verbose printf's in the PCI BIOS interrupt routing code under
if (bootverbose).
Diffstat (limited to 'sys/amd64/pci')
-rw-r--r-- | sys/amd64/pci/pci_cfgreg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c index bb25900..536c5a6 100644 --- a/sys/amd64/pci/pci_cfgreg.c +++ b/sys/amd64/pci/pci_cfgreg.c @@ -51,7 +51,10 @@ #include "pcib_if.h" -#define PRVERB(a) printf a +#define PRVERB(a) do { \ + if (bootverbose) \ + printf a ; \ +} while(0) static int cfgmech; static int devmax; |