|
@@ -47,11 +47,10 @@
|
47
|
47
|
|
48
|
48
|
#define EEPROMSIZE 0x40
|
49
|
49
|
#define MAX_EEPROMBUSY 1000
|
50
|
|
-#define EP_LAST_TAG 0xd7
|
51
|
|
-#define EP_MAX_BOARDS 16
|
52
|
|
-#define EP_ID_PORT_START 0x110
|
|
50
|
+#define EP_ID_PORT_START 0x110 /* avoid 0x100 to avoid conflict with SB16 */
|
53
|
51
|
#define EP_ID_PORT_INC 0x10
|
54
|
52
|
#define EP_ID_PORT_END 0x200
|
|
53
|
+#define EP_TAG_MAX 0x7 /* must be 2^n - 1 */
|
55
|
54
|
|
56
|
55
|
/*
|
57
|
56
|
* Commands to read/write EEPROM trough EEPROM command register (Window 0,
|
|
@@ -96,6 +95,11 @@
|
96
|
95
|
* Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual
|
97
|
96
|
* from 3com.
|
98
|
97
|
*
|
|
98
|
+ * Getting this document out of 3Com is almost impossible. However,
|
|
99
|
+ * archived copies are available at
|
|
100
|
+ * http://www.osdever.net/cottontail/downloads/docs/3c5x9b.zip and
|
|
101
|
+ * several other places on the web (search for 3c5x9b.pdf).
|
|
102
|
+ *
|
99
|
103
|
**************************************************************************/
|
100
|
104
|
|
101
|
105
|
#define EP_COMMAND 0x0e /* Write. BASE+0x0e is always a
|
|
@@ -360,11 +364,9 @@
|
360
|
364
|
#define RX_ERROR 0x4000
|
361
|
365
|
#define RX_INCOMPLETE 0x8000
|
362
|
366
|
|
363
|
|
-
|
364
|
367
|
/*
|
365
|
368
|
* Misc defines for various things.
|
366
|
369
|
*/
|
367
|
|
-#define ACTIVATE_ADAPTER_TO_CONFIG 0xff /* to the id_port */
|
368
|
370
|
#define MFG_ID 0x6d50 /* in EEPROM and W0 ADDR_CONFIG */
|
369
|
371
|
#define PROD_ID 0x9150
|
370
|
372
|
|