Module Name: src
Committed By: jdc
Date: Thu May 7 06:46:55 UTC 2009
Modified Files:
src/sys/dev/ic: hmereg.h
Log Message:
Add extra counter definitions (pointed out by Geoff Wing).
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/ic/hmereg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/hmereg.h
diff -u src/sys/dev/ic/hmereg.h:1.21 src/sys/dev/ic/hmereg.h:1.22
--- src/sys/dev/ic/hmereg.h:1.21 Thu Apr 16 14:08:18 2009
+++ src/sys/dev/ic/hmereg.h Thu May 7 06:46:54 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: hmereg.h,v 1.21 2009/04/16 14:08:18 tsutsui Exp $ */
+/* $NetBSD: hmereg.h,v 1.22 2009/05/07 06:46:54 jdc Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -192,6 +192,12 @@
#define HME_MACI_MACADDR2 (198*4) /* MAC address */
#define HME_MACI_MACADDR1 (199*4)
#define HME_MACI_MACADDR0 (200*4)
+#define HME_MACI_STAT_RCNT (201*4) /* RX frame count */
+#define HME_MACI_STAT_LCNT (202*4) /* Length error count */
+#define HME_MACI_STAT_ACNT (203*4) /* Align error count */
+#define HME_MACI_STAT_CCNT (204*4) /* FCS error count */
+#define HME_MACI_STATE (205*4) /* RX_MAC state machine */
+#define HME_MACI_STAT_CVCNT (206*4) /* Code violation count */
#define HME_MACI_HASHTAB3 (208*4) /* Address hash table */
#define HME_MACI_HASHTAB2 (209*4)
#define HME_MACI_HASHTAB1 (210*4)