Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mac68k/dev Be less noisy about collision errors. F...
details: https://anonhg.NetBSD.org/src/rev/a7818b3869f8
branches: trunk
changeset: 477190:a7818b3869f8
user: scottr <scottr%NetBSD.org@localhost>
date: Thu Oct 14 20:58:18 1999 +0000
description:
Be less noisy about collision errors. From Dave Huang, closes PR 8605.
diffstat:
sys/arch/mac68k/dev/if_mc.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 7cfe3116b30d -r a7818b3869f8 sys/arch/mac68k/dev/if_mc.c
--- a/sys/arch/mac68k/dev/if_mc.c Thu Oct 14 18:42:15 1999 +0000
+++ b/sys/arch/mac68k/dev/if_mc.c Thu Oct 14 20:58:18 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_mc.c,v 1.13 1999/05/18 23:52:53 thorpej Exp $ */
+/* $NetBSD: if_mc.c,v 1.14 1999/10/14 20:58:18 scottr Exp $ */
/*-
* Copyright (c) 1997 David Huang <khym%bga.com@localhost>
@@ -510,7 +510,9 @@
}
if (ir & CERR) {
+#ifdef MCDEBUG
printf("%s: collision error\n", sc->sc_dev.dv_xname);
+#endif
sc->sc_if.if_collisions++;
}
@@ -557,6 +559,7 @@
else if (xmtfs & ONE)
sc->sc_if.if_collisions++;
else if (xmtfs & RTRY) {
+ printf("%s: excessive collisions\n", sc->sc_dev.dv_xname);
sc->sc_if.if_collisions += 16;
sc->sc_if.if_oerrors++;
}
Home |
Main Index |
Thread Index |
Old Index