diff options
| -rw-r--r-- | sys/amd64/pci/pci_cfgreg.c | 5 | ||||
| -rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 5 | ||||
| -rw-r--r-- | sys/i386/pci/pci_pir.c | 5 |
3 files changed, 12 insertions, 3 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; diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index bb2590089394c..536c5a6cf20d9 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/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; diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index bb2590089394c..536c5a6cf20d9 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.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; |
