summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/3c509.h
diff options
context:
space:
mode:
authorMichael Brown2005-04-14 14:23:12 +0200
committerMichael Brown2005-04-14 14:23:12 +0200
commit4c0d5a0b719bf0b69b733e4aeea3ed45d2b21216 (patch)
tree14d3587feec0ced161dbb0f8dcde5f2cc7d2f627 /src/drivers/net/3c509.h
parentAllow for multiple BOOT_DRIVER()s in the same file, provided that they (diff)
downloadipxe-4c0d5a0b719bf0b69b733e4aeea3ed45d2b21216.tar.gz
ipxe-4c0d5a0b719bf0b69b733e4aeea3ed45d2b21216.tar.xz
ipxe-4c0d5a0b719bf0b69b733e4aeea3ed45d2b21216.zip
Split 3c509.c into 3c509.9 and 3c529.c, with shared code in 3c5x9.c.
Probe mechanisms now use standard EISA and MCA bus methods, with 3c509.c defining a custom ISA bus to handle the 3c509 contention resolution logic.
Diffstat (limited to 'src/drivers/net/3c509.h')
-rw-r--r--src/drivers/net/3c509.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/drivers/net/3c509.h b/src/drivers/net/3c509.h
index 72f8e445..1f29f1e5 100644
--- a/src/drivers/net/3c509.h
+++ b/src/drivers/net/3c509.h
@@ -49,9 +49,9 @@
#define MAX_EEPROMBUSY 1000
#define EP_LAST_TAG 0xd7
#define EP_MAX_BOARDS 16
-#ifndef EP_ID_PORT
-#define EP_ID_PORT 0x100
-#endif
+#define EP_ID_PORT_START 0x110
+#define EP_ID_PORT_INC 0x10
+#define EP_ID_PORT_END 0x200
/*
* Commands to read/write EEPROM trough EEPROM command register (Window 0,
@@ -374,6 +374,12 @@
#define RX_BYTES_MASK (unsigned short) (0x07ff)
+/*
+ * Function shared between 3c509.c and 3c529.c
+ */
+extern int t5x9_probe ( struct nic *nic,
+ uint16_t prod_id_check, uint16_t prod_id_mask );
+
/*
* Local variables: