summaryrefslogtreecommitdiff
path: root/sys/dev/ic/elink3reg.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-29 20:59:41 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-29 20:59:41 +0000
commit4466be9850425b8bec29fd728495340174337699 (patch)
tree250e9883aae99990f75696b070169aa55b8effcd /sys/dev/ic/elink3reg.h
parent42e654f9aa349230e47237252275c5e7ae79e3f8 (diff)
Fix for PCI etherlink3 packet-receive bug; netbsd pr#2661, jonathan@DSG.Stanford.EDU
Diffstat (limited to 'sys/dev/ic/elink3reg.h')
-rw-r--r--sys/dev/ic/elink3reg.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/dev/ic/elink3reg.h b/sys/dev/ic/elink3reg.h
index 48dccc48339..222f395b66e 100644
--- a/sys/dev/ic/elink3reg.h
+++ b/sys/dev/ic/elink3reg.h
@@ -87,6 +87,7 @@
* Window 2 registers. Station Address Setup/Read
*/
/* Read/Write */
+#define EP_W2_RECVMASK_0 0x06
#define EP_W2_ADDR_5 0x05
#define EP_W2_ADDR_4 0x04
#define EP_W2_ADDR_3 0x03
@@ -140,6 +141,18 @@
#define TX_CD_LOST 0x00
/*
+ * Window 7 registers.
+ * Address and length for a single bus-master DMA transfer.
+ */
+#define EP_W7_MASTER_ADDDRES 0x00
+#define EP_W7_RX_ERROR 0x04
+#define EP_W7_MASTER_LEN 0x06
+#define EP_W7_RX_STATUS 0x08
+#define EP_W7_TIMER 0x0a
+#define EP_W7_TX_STATUS 0x0b
+#define EP_W7_MASTER_STATUS 0x0c
+
+/*
* Register definitions.
*/