diff options
author | 2001-06-25 23:09:55 +0000 | |
---|---|---|
committer | 2001-06-25 23:09:55 +0000 | |
commit | fcba86c7cab737b695ccc766d3d13be485c54e74 (patch) | |
tree | 42148a926e5981b9ed699f901e59a7e7c7538629 | |
parent | KNF (diff) | |
download | wireguard-openbsd-fcba86c7cab737b695ccc766d3d13be485c54e74.tar.xz wireguard-openbsd-fcba86c7cab737b695ccc766d3d13be485c54e74.zip |
add MACOBIOVERBOSE as per discussion w/ dale
-rw-r--r-- | sys/arch/powerpc/conf/GENERIC | 3 | ||||
-rw-r--r-- | sys/arch/powerpc/pci/macobio.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/powerpc/conf/GENERIC b/sys/arch/powerpc/conf/GENERIC index 9c9f66dfe1d..14bdc177981 100644 --- a/sys/arch/powerpc/conf/GENERIC +++ b/sys/arch/powerpc/conf/GENERIC @@ -1,4 +1,4 @@ -# $OpenBSD: GENERIC,v 1.39 2001/06/25 21:13:37 mickey Exp $ +# $OpenBSD: GENERIC,v 1.40 2001/06/25 23:09:55 mickey Exp $ # # PPC GENERIC config file # @@ -16,6 +16,7 @@ option FIREPOWERBUGS option PPC_MPC106_BUG option PCIVERBOSE option USBVERBOSE +#option MACOBIOVERBOSE option WSEMUL_NO_DUMB option USER_PCICONF # user-space PCI configuration diff --git a/sys/arch/powerpc/pci/macobio.c b/sys/arch/powerpc/pci/macobio.c index 87c38f74b31..6ceaee0e2dc 100644 --- a/sys/arch/powerpc/pci/macobio.c +++ b/sys/arch/powerpc/pci/macobio.c @@ -204,10 +204,9 @@ macobio_print(aux, macobio) void *aux; const char *macobio; { +#ifdef MACOBIOVERBOSE struct confargs *ca = aux; -#if 0 -/* no reason to clutter the screen with unneccessary printfs */ if (macobio) printf("%s at %s", ca->ca_name, macobio); @@ -215,8 +214,9 @@ macobio_print(aux, macobio) printf(" offset 0x%x", ca->ca_reg[0]); return UNCONF; -#endif +#else return QUIET; +#endif } typedef int mac_intr_handle_t; |