4.3BSD release version
[unix-history] / usr / src / sys / vax / if / if_ecreg.h
index c96b24a..a037963 100644 (file)
@@ -1,4 +1,10 @@
-/*     if_ecreg.h      4.2     82/06/26        */
+/*
+ * Copyright (c) 1982, 1986 Regents of the University of California.
+ * All rights reserved.  The Berkeley software License Agreement
+ * specifies the terms and conditions for redistribution.
+ *
+ *     @(#)if_ecreg.h  7.1 (Berkeley) %G%
+ */
 
 /*
  * 3Com Ethernet controller registers.
 
 /*
  * 3Com Ethernet controller registers.
@@ -19,6 +25,7 @@ struct ecdevice {
 #define        EC_PIE          0x1000          /* Parity interrupt enable (read) */
 #define        EC_ADATA        0x0f00          /* address/filtering */
 #define        EC_RDONE        0x0080          /* receive done */
 #define        EC_PIE          0x1000          /* Parity interrupt enable (read) */
 #define        EC_ADATA        0x0f00          /* address/filtering */
 #define        EC_RDONE        0x0080          /* receive done */
+#define        EC_MDISAB       0x0080          /* memory disable */
 #define        EC_RINTEN       0x0040          /* receive interrupt enable */
 #define        EC_RCLR         0x0020          /* clear RDONE bit */
 #define        EC_RWBN         0x0010          /* submit buffer for receive */
 #define        EC_RINTEN       0x0040          /* receive interrupt enable */
 #define        EC_RCLR         0x0020          /* clear RDONE bit */
 #define        EC_RWBN         0x0010          /* submit buffer for receive */
@@ -44,7 +51,7 @@ struct ecdevice {
 /*
  * Useful combinations
  */
 /*
  * Useful combinations
  */
-#define        EC_READ         (EC_AROM|0x600|EC_RINTEN|EC_RWBN)
+#define        EC_READ         (0x600|EC_RINTEN|EC_RWBN)
 #define        EC_WRITE        (EC_JINTEN|EC_XINTEN|EC_XWBN)
 #define        EC_CLEAR        (EC_JINTEN|EC_XINTEN|EC_JCLR)
 
 #define        EC_WRITE        (EC_JINTEN|EC_XINTEN|EC_XWBN)
 #define        EC_CLEAR        (EC_JINTEN|EC_XINTEN|EC_JCLR)