diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-25 23:09:56 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-06-25 23:09:56 +0000 |
commit | 95a3a0dd2d1064a49f639297536927d01e0074b3 (patch) | |
tree | f2779854f99de2ffdc5580bd9f0ddd741874dd8b /sys | |
parent | 3a0fe06241908f1f8d9fd8a3f7ae57fd6ae286ae (diff) |
add MACOBIOVERBOSE as per discussion w/ dale
Diffstat (limited to 'sys')
-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; |