summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormatt <matt@NetBSD.org>2000-04-16 17:03:42 +0000
committermatt <matt@NetBSD.org>2000-04-16 17:03:42 +0000
commit0aae0cd7a6ecdc1671ea1b9e4c8ebf774614fa62 (patch)
tree8640893a85ad18daecf295ddccba8b30bf36d847 /sys/dev
parent066f8f835fdb963d6ef4db979042f2e1dcfbeff2 (diff)
only print packets if debug > 1
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/am7990.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/am7990.c b/sys/dev/ic/am7990.c
index 8945afc42a5..4f188c81220 100644
--- a/sys/dev/ic/am7990.c
+++ b/sys/dev/ic/am7990.c
@@ -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 @@ am7990_rint(sc)
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 @@ am7990_start(ifp)
(*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