aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-02-25 09:26:58 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-27 02:16:38 -0500
commitff3a7cb25217bddcefd20e72af08a65481db4096 (patch)
tree8d8429ca67bb859acdb711fa6ee21b5fd1132410 /drivers/net/tg3.h
parentacd9c119cc663860fff4f1445ed0f87d82378d99 (diff)
tg3: Add legacy bootcode version decoding
This patch adds code to obtain the bootcode version for versions of bootcode that do not use the new method. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 508def3e077f..34dfaaaed3aa 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -1737,6 +1737,10 @@
1737#define TG3_NVM_DIRENT_SIZE 0xc 1737#define TG3_NVM_DIRENT_SIZE 0xc
1738#define TG3_NVM_DIRTYPE_SHIFT 24 1738#define TG3_NVM_DIRTYPE_SHIFT 24
1739#define TG3_NVM_DIRTYPE_ASFINI 1 1739#define TG3_NVM_DIRTYPE_ASFINI 1
1740#define TG3_NVM_PTREV_BCVER 0x94
1741#define TG3_NVM_BCVER_MAJMSK 0x0000ff00
1742#define TG3_NVM_BCVER_MAJSFT 8
1743#define TG3_NVM_BCVER_MINMSK 0x000000ff
1740 1744
1741#define TG3_EEPROM_SB_F1R0_EDH_OFF 0x10 1745#define TG3_EEPROM_SB_F1R0_EDH_OFF 0x10
1742#define TG3_EEPROM_SB_F1R2_EDH_OFF 0x14 1746#define TG3_EEPROM_SB_F1R2_EDH_OFF 0x14