From 1861478263bdd036f204af9628795402bfa53ca7 Mon Sep 17 00:00:00 2001 From: Martin Reindl Date: Tue, 4 Jan 2005 18:42:05 +0000 Subject: ifdef MCDEBUG printf on FIFO overflows as discussed with Nick --- sys/arch/mac68k/dev/if_mc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3