aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-02-25 09:27:43 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 02:16:40 -0500
commita6f6cb1cf8ba54efdbbbf61b5b4345b0246da42f (patch)
tree18822cf6cea61ce7b46bc07b0621946e7454ba85 /drivers/net/tg3.h
parent7fd764455a13f4d9b37c9b908f07d0758f11d3c5 (diff)
tg3: Add version reporting for hardware selfboot
This patch adds version reporting for hardware selfboot. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Benjamin Li <benli@broadcom.com> 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 2a75a60a6f1f..cb4c62abdd21 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1719,6 +1719,12 @@
1719 1719
1720#define TG3_OTP_DEFAULT 0x286c1640 1720#define TG3_OTP_DEFAULT 0x286c1640
1721 1721
1722/* Hardware Selfboot NVRAM layout */
1723#define TG3_NVM_HWSB_CFG1 0x00000004
1724#define TG3_NVM_HWSB_CFG1_MAJMSK 0xf8000000
1725#define TG3_NVM_HWSB_CFG1_MAJSFT 27
1726#define TG3_NVM_HWSB_CFG1_MINMSK 0x07c00000
1727#define TG3_NVM_HWSB_CFG1_MINSFT 22
1722 1728
1723#define TG3_EEPROM_MAGIC 0x669955aa 1729#define TG3_EEPROM_MAGIC 0x669955aa
1724#define TG3_EEPROM_MAGIC_FW 0xa5000000 1730#define TG3_EEPROM_MAGIC_FW 0xa5000000