Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic only print packets if debug > 1
details: https://anonhg.NetBSD.org/src/rev/a88dacb3fecb
branches: trunk
changeset: 485005:a88dacb3fecb
user: matt <matt%NetBSD.org@localhost>
date: Sun Apr 16 17:03:42 2000 +0000
description:
only print packets if debug > 1
diffstat:
sys/dev/ic/am7990.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5ca81f76e836 -r a88dacb3fecb sys/dev/ic/am7990.c
--- a/sys/dev/ic/am7990.c Sun Apr 16 16:31:55 2000 +0000
+++ b/sys/dev/ic/am7990.c Sun Apr 16 17:03:42 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: am7990.c,v 1.57 2000/03/30 12:45:29 augustss Exp $ */
+/* $NetBSD: am7990.c,v 1.58 2000/04/16 17:03:42 matt Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -282,7 +282,7 @@
ifp->if_ierrors++;
} else {
#ifdef LEDEBUG
- if (sc->sc_debug)
+ if (sc->sc_debug > 1)
am7990_recv_print(sc, sc->sc_last_rd);
#endif
lance_read(sc, LE_RBUFADDR(sc, bix),
@@ -552,7 +552,7 @@
(*sc->sc_copytodesc)(sc, &tmd, rp, sizeof(tmd));
#ifdef LEDEBUG
- if (sc->sc_debug)
+ if (sc->sc_debug > 1)
am7990_xmit_print(sc, sc->sc_last_td);
#endif
Home |
Main Index |
Thread Index |
Old Index