summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia/if_cnwreg.h
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-02-01 17:21:49 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2000-02-01 17:21:49 +0000
commit6e8604dddeab28387061ab50073cbece3962a417 (patch)
treefcdabaf187af4609ff5dbc338455d928b6aa4519 /sys/dev/pcmcia/if_cnwreg.h
parent15083e0c1ac3db1105ab6f6f2fe91892136a1f22 (diff)
New regs from NetBSD.
Diffstat (limited to 'sys/dev/pcmcia/if_cnwreg.h')
-rw-r--r--sys/dev/pcmcia/if_cnwreg.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_cnwreg.h b/sys/dev/pcmcia/if_cnwreg.h
index b8b6eafa815..b9e6223a5a3 100644
--- a/sys/dev/pcmcia/if_cnwreg.h
+++ b/sys/dev/pcmcia/if_cnwreg.h
@@ -1,4 +1,5 @@
-/* $OpenBSD: if_cnwreg.h,v 1.1 1999/08/13 20:34:17 fgsch Exp $ */
+/* $OpenBSD: if_cnwreg.h,v 1.2 2000/02/01 17:21:48 fgsch Exp $ */
+
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -71,6 +72,8 @@
#define CNW_EREG_RSER 0x120
# define CNW_RSER_RXBIG 0x02
# define CNW_RSER_RXCRC 0x04
+# define CNW_RSER_RXOVERRUN 0x08
+# define CNW_RSER_RXOVERFLOW 0x10
# define CNW_RSER_RXERR 0x40
# define CNW_RSER_RXAVAIL 0x80
#define CNW_EREG_RSERW 0x124
@@ -96,6 +99,16 @@
#define CNW_EREG_NI 0x16e
#define CNW_EREG_CRBP 0x17a
#define CNW_EREG_EC 0x180
+#define CNW_EREG_STAT_RXERR 0x184
+#define CNW_EREG_STAT_FRAME 0x186
+#define CNW_EREG_STAT_IBEAT 0x188
+#define CNW_EREG_STAT_RXBUF 0x18e
+#define CNW_EREG_STAT_RXMULTI 0x190
+#define CNW_EREG_STAT_TXRETRY 0x192
+#define CNW_EREG_STAT_TXABORT 0x194
+#define CNW_EREG_STAT_OBEAT 0x198
+#define CNW_EREG_STAT_TXOK 0x19a
+#define CNW_EREG_STAT_TXSENT 0x19c
/*
* Commands used in the extended command buffer