summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2005-04-22 18:01:51 +0200
committerMichael Brown2005-04-22 18:01:51 +0200
commit7bd88df08d86e64d856c6d77d56b772307f53ef3 (patch)
treefbb9cfa72b24f21c4c436981b3c86fb8b3ec7e6a /src/drivers
parentUpdated to new API. (diff)
downloadipxe-7bd88df08d86e64d856c6d77d56b772307f53ef3.tar.gz
ipxe-7bd88df08d86e64d856c6d77d56b772307f53ef3.tar.xz
ipxe-7bd88df08d86e64d856c6d77d56b772307f53ef3.zip
Documented where to get hold of the datasheet.
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/net/3c509.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/drivers/net/3c509.h b/src/drivers/net/3c509.h
index dbc206b4..b443b1ea 100644
--- a/src/drivers/net/3c509.h
+++ b/src/drivers/net/3c509.h
@@ -47,11 +47,10 @@
#define EEPROMSIZE 0x40
#define MAX_EEPROMBUSY 1000
-#define EP_LAST_TAG 0xd7
-#define EP_MAX_BOARDS 16
-#define EP_ID_PORT_START 0x110
+#define EP_ID_PORT_START 0x110 /* avoid 0x100 to avoid conflict with SB16 */
#define EP_ID_PORT_INC 0x10
#define EP_ID_PORT_END 0x200
+#define EP_TAG_MAX 0x7 /* must be 2^n - 1 */
/*
* Commands to read/write EEPROM trough EEPROM command register (Window 0,
@@ -96,6 +95,11 @@
* Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual
* from 3com.
*
+ * Getting this document out of 3Com is almost impossible. However,
+ * archived copies are available at
+ * http://www.osdever.net/cottontail/downloads/docs/3c5x9b.zip and
+ * several other places on the web (search for 3c5x9b.pdf).
+ *
**************************************************************************/
#define EP_COMMAND 0x0e /* Write. BASE+0x0e is always a
@@ -360,11 +364,9 @@
#define RX_ERROR 0x4000
#define RX_INCOMPLETE 0x8000
-
/*
* Misc defines for various things.
*/
-#define ACTIVATE_ADAPTER_TO_CONFIG 0xff /* to the id_port */
#define MFG_ID 0x6d50 /* in EEPROM and W0 ADDR_CONFIG */
#define PROD_ID 0x9150