diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-09-23 18:13:42 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-09-23 18:13:42 +0000 |
| commit | 8ff25e976304bb32bf986f9b935fc65849641c3a (patch) | |
| tree | 6cd118f6a0be5e7343dcc9c5e9f4b08a1902f0f8 | |
| parent | 56144d5a4d202e37f08fae0410f38e762ca4ce6a (diff) | |
Notes
| -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 bb2590089394..536c5a6cf20d 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 bb2590089394..536c5a6cf20d 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 bb2590089394..536c5a6cf20d 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; |
