Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Move DTIMEXP and RFIFOVF warnings under control o...
details: https://anonhg.NetBSD.org/src/rev/dd0dc62108ae
branches: trunk
changeset: 547187:dd0dc62108ae
user: petrov <petrov%NetBSD.org@localhost>
date: Wed May 14 19:46:59 2003 +0000
description:
Move DTIMEXP and RFIFOVF warnings under control of HMEDEBUG.
PR port-sparc64/20280 by grant beattie.
diffstat:
sys/dev/ic/hmereg.h | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r da4a0b665074 -r dd0dc62108ae sys/dev/ic/hmereg.h
--- a/sys/dev/ic/hmereg.h Wed May 14 19:46:39 2003 +0000
+++ b/sys/dev/ic/hmereg.h Wed May 14 19:46:59 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hmereg.h,v 1.13 2003/05/03 18:11:18 wiz Exp $ */
+/* $NetBSD: hmereg.h,v 1.14 2003/05/14 19:46:59 petrov Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -100,16 +100,20 @@
"b\33TXLERR\0b\34TXPERR\0b\35TXTERR\0" \
"b\36SLVERR\0b\37SLVPERR\0\0"
+#ifdef HMEDEBUG
+#define HME_SEB_STAT_DEBUG_ERRORS (HME_SEB_STAT_DTIMEXP | HME_SEB_STAT_RFIFOVF)
+#endif
+
#define HME_SEB_STAT_ALL_ERRORS \
(HME_SEB_STAT_SLVPERR | HME_SEB_STAT_SLVERR | HME_SEB_STAT_TXTERR |\
HME_SEB_STAT_TXPERR | HME_SEB_STAT_TXLERR | HME_SEB_STAT_TXEACK |\
HME_SEB_STAT_EOPERR | HME_SEB_STAT_RXTERR | HME_SEB_STAT_RXPERR |\
HME_SEB_STAT_RXLATERR | HME_SEB_STAT_RXERR | HME_SEB_STAT_NORXD |\
- HME_SEB_STAT_DTIMEXP | HME_SEB_STAT_FCNTEXP | HME_SEB_STAT_LCCNTEXP |\
+ HME_SEB_STAT_FCNTEXP | HME_SEB_STAT_LCCNTEXP |\
HME_SEB_STAT_ECNTEXP | HME_SEB_STAT_NCNTEXP | HME_SEB_STAT_MAXPKTERR|\
HME_SEB_STAT_TFIFO_UND| HME_SEB_STAT_STSTERR | HME_SEB_STAT_CVCNTEXP |\
- HME_SEB_STAT_RFIFOVF | HME_SEB_STAT_LCNTEXP | HME_SEB_STAT_CCNTEXP |\
- HME_SEB_STAT_ACNTEXP)
+ HME_SEB_STAT_LCNTEXP | HME_SEB_STAT_CCNTEXP |\
+ HME_SEB_STAT_ACNTEXP | HME_SEB_STAT_DEBUG_ERRORS)
#define HME_SEB_STAT_VLAN_ERRORS \
(HME_SEB_STAT_SLVPERR | HME_SEB_STAT_SLVERR | HME_SEB_STAT_TXTERR |\
Home |
Main Index |
Thread Index |
Old Index