summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-09-27 16:10:14 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:42 -0700
commitb16250e3d1c55820f08f0296624a423122ea9805 (patch)
tree9559f4acd5e740b727c42e635699b7427f21d3c3 /drivers/net/tg3.h
parent715116a12610b67c1d301a9b845ce95f7247dad3 (diff)
downloadop-kernel-dev-b16250e3d1c55820f08f0296624a423122ea9805.zip
op-kernel-dev-b16250e3d1c55820f08f0296624a423122ea9805.tar.gz
[TG3]: Add 5709 self-test support.
Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 9259d12..92f5300 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1507,6 +1507,10 @@
#define TG3_EEPROM_MAGIC 0x669955aa
+#define TG3_EEPROM_MAGIC_FW 0xa5000000
+#define TG3_EEPROM_MAGIC_FW_MSK 0xff000000
+#define TG3_EEPROM_MAGIC_HW 0xabcd
+#define TG3_EEPROM_MAGIC_HW_MSK 0xffff
/* 32K Window into NIC internal memory */
#define NIC_SRAM_WIN_BASE 0x00008000
OpenPOWER on IntegriCloud