summaryrefslogtreecommitdiff
path: root/sys/dev/ic/gem.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-07-11 00:52:39 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-07-11 00:52:39 +0000
commitedbc6aedcfcbade9d9ed389b6cbe303bc398974d (patch)
tree9771279cfe17a67cf01d678a8260797b1ad37a36 /sys/dev/ic/gem.c
parentc82355ec6d2a6dc42c55fb8415127dbd396e68f4 (diff)
put CRC error message under GEM_DEBUG. this just spews out like crazy
on a heavily loaded hub.
Diffstat (limited to 'sys/dev/ic/gem.c')
-rw-r--r--sys/dev/ic/gem.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c
index 401b11f23c9..fdf65f5858c 100644
--- a/sys/dev/ic/gem.c
+++ b/sys/dev/ic/gem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gem.c,v 1.58 2006/04/15 04:10:06 brad Exp $ */
+/* $OpenBSD: gem.c,v 1.59 2006/07/11 00:52:38 brad Exp $ */
/* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */
/*
@@ -924,8 +924,10 @@ gem_rint(sc)
}
if (rxstat & GEM_RD_BAD_CRC) {
+#ifdef GEM_DEBUG
printf("%s: receive error: CRC error\n",
sc->sc_dev.dv_xname);
+#endif
GEM_INIT_RXDESC(sc, i);
continue;
}