Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic make the driver even more silent; print state cha...
details: https://anonhg.NetBSD.org/src/rev/ec28807aee69
branches: trunk
changeset: 522247:ec28807aee69
user: itojun <itojun%NetBSD.org@localhost>
date: Wed Feb 13 22:06:17 2002 +0000
description:
make the driver even more silent; print state change messages only if IFF_DEBUG.
diffstat:
sys/dev/ic/wi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 47405b2d0e20 -r ec28807aee69 sys/dev/ic/wi.c
--- a/sys/dev/ic/wi.c Wed Feb 13 19:25:26 2002 +0000
+++ b/sys/dev/ic/wi.c Wed Feb 13 22:06:17 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wi.c,v 1.38 2002/02/01 13:35:41 martin Exp $ */
+/* $NetBSD: wi.c,v 1.39 2002/02/13 22:06:17 itojun Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.38 2002/02/01 13:35:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wi.c,v 1.39 2002/02/13 22:06:17 itojun Exp $");
#define WI_HERMES_AUTOINC_WAR /* Work around data write autoinc bug. */
#define WI_HERMES_STATS_WAR /* Work around stats counter bug. */
@@ -589,7 +589,7 @@
* trying to find a peer. Don't bother the user with this
* unless he is debugging.
*/
- if (t > 2 || (ifp->if_flags & IFF_DEBUG))
+ if (ifp->if_flags & IFF_DEBUG)
printf("%s: %s\n", sc->sc_dev.dv_xname, msg[t - 1]);
break;
}
Home |
Main Index |
Thread Index |
Old Index