diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2005-01-04 18:42:05 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2005-01-04 18:42:05 +0000 |
commit | 1861478263bdd036f204af9628795402bfa53ca7 (patch) | |
tree | 96b3d43193131b5b65a00b3fa1202a73c678c075 /sys/arch/mac68k/dev | |
parent | 6c123e0544231110b8f33055409d26d0d2566347 (diff) |
ifdef MCDEBUG printf on FIFO overflows as discussed with Nick
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/if_mc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/if_mc.c b/sys/arch/mac68k/dev/if_mc.c index 42aef4c67c1..f200525f1c8 100644 --- a/sys/arch/mac68k/dev/if_mc.c +++ b/sys/arch/mac68k/dev/if_mc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mc.c,v 1.10 2005/01/04 03:47:53 brad Exp $ */ +/* $OpenBSD: if_mc.c,v 1.11 2005/01/04 18:42:04 martin Exp $ */ /* $NetBSD: if_mc.c,v 1.24 2004/10/30 18:08:34 thorpej Exp $ */ /*- @@ -580,7 +580,9 @@ mc_rint(sc) #endif if (rxf.rx_rcvsts & OFLO) { +#ifdef MCDEBUG printf("%s: receive FIFO overflow\n", sc->sc_dev.dv_xname); +#endif sc->sc_if.if_ierrors++; return; } |