Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix status bit symbols strings.



details:   https://anonhg.NetBSD.org/src/rev/41b93d7387c1
branches:  trunk
changeset: 479673:41b93d7387c1
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Dec 17 14:34:25 1999 +0000

description:
Fix status bit symbols strings.
Rename MII receives enable bit to be in sync with the STP2002 datasheet.

diffstat:

 sys/dev/ic/hmereg.h |  24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diffs (45 lines):

diff -r f13dddf3f3c2 -r 41b93d7387c1 sys/dev/ic/hmereg.h
--- a/sys/dev/ic/hmereg.h       Fri Dec 17 14:25:45 1999 +0000
+++ b/sys/dev/ic/hmereg.h       Fri Dec 17 14:34:25 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hmereg.h,v 1.2 1999/12/14 23:54:41 pk Exp $    */
+/*     $NetBSD: hmereg.h,v 1.3 1999/12/17 14:34:25 pk Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -89,16 +89,16 @@
 #define HME_SEB_STAT_SLVPERR   0x80000000      /* pio access parity error */
 #define HME_SEB_STAT_BITS      "\177\020"                              \
                        "b\0GOTFRAME\0b\1RCNTEXP\0b\2ACNTEXP\0"         \
-                       "b\3CCNTEXP\0b\5LCNTEXP\0b\6RFIFOVF\0"          \
-                       "b\7CVCNTEXP\0b\10SENTFRAME\0b\11TFIFO_UND\0"   \
-                       "b\12MAXPKTERR\0b\13NCNTEXP\0b\14ECNTEXP\0"     \
-                       "b\15LCCNTEXP\0b\16FCNTEXP\0b\17DTIMEXP\0"      \
-                       "b\20RXTOHOST\0b\21NORXD\0b\22RXERR\0"          \
-                       "b\23RXLATERR\0b\24RXPERR\0b\25RXTERR\0"        \
-                       "b\26EOPERR\0b\27MIFIRQ\0b\30HOSTTOTX\0"        \
-                       "b\31TXALL\0b\32XTEACK\0b\33TXLERR\0"           \
-                       "b\34TXPERR\0b\35TXTERR\0b\36SLVERR\0"          \
-                       "b\37SLVPERR\0\0"
+                       "b\3CCNTEXP\0b\4LCNTEXP\0b\5RFIFOVF\0"          \
+                       "b\6CVCNTEXP\0b\7STSTERR\0b\10SENTFRAME\0"      \
+                       "b\11TFIFO_UND\0b\12MAXPKTERR\0b\13NCNTEXP\0"   \
+                       "b\14ECNTEXP\0b\15LCCNTEXP\0b\16FCNTEXP\0"      \
+                       "b\17DTIMEXP\0b\20RXTOHOST\0b\21NORXD\0"        \
+                       "b\22RXERR\0b\23RXLATERR\0b\24RXPERR\0"         \
+                       "b\25RXTERR\0b\26EOPERR\0b\27MIFIRQ\0"          \
+                       "b\30HOSTTOTX\0b\31TXALL\0b\32XTEACK\0"         \
+                       "b\33TXLERR\0b\34TXPERR\0b\35TXTERR\0"          \
+                       "b\36SLVERR\0b\37SLVPERR\0\0"
 
 #define HME_SEB_STAT_ALL_ERRORS        \
        (HME_SEB_STAT_SLVPERR  | HME_SEB_STAT_SLVERR  | HME_SEB_STAT_TXTERR   |\
@@ -190,7 +190,7 @@
 #define HME_MAC_XIF_OE         0x00000001      /* Output driver enable */
 #define HME_MAC_XIF_XLBACK     0x00000002      /* Loopback-mode XIF enable */
 #define HME_MAC_XIF_MLBACK     0x00000004      /* Loopback-mode MII enable */
-#define HME_MAC_XIF_MIIDISAB   0x00000008      /* MII receive buffer disable */
+#define HME_MAC_XIF_MIIENABLE  0x00000008      /* MII receive buffer enable */
 #define HME_MAC_XIF_SQENABLE   0x00000010      /* SQE test enable */
 #define HME_MAC_XIF_SQETWIN    0x000003e0      /* SQE time window */
 #define HME_MAC_XIF_LANCE      0x00000010      /* Lance mode enable */



Home | Main Index | Thread Index | Old Index