aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/pci/pci_cfgreg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index bb2590089394c..536c5a6cf20d9 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;