diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-10-14 06:37:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-17 16:57:42 -0400 |
commit | bba226acf4d13586ce47cf8376db33bed7bc0bd6 (patch) | |
tree | d8630345f5987c914c8c21b92a4a23dc4433bd3e /drivers/net/tg3.h | |
parent | 19f572565ef66a0439574fd2299a7c804147e133 (diff) |
tg3: Add support for selfboot format 1 v6
5718 B0 and 5719 devices will use a new selfboot firmware format. This
patch adds code to detect the new format so that bootcode versions get
reported correctly.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index f6b709a3ca32..89553c42fd08 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -1915,6 +1915,7 @@ | |||
1915 | #define TG3_EEPROM_SB_REVISION_3 0x00030000 | 1915 | #define TG3_EEPROM_SB_REVISION_3 0x00030000 |
1916 | #define TG3_EEPROM_SB_REVISION_4 0x00040000 | 1916 | #define TG3_EEPROM_SB_REVISION_4 0x00040000 |
1917 | #define TG3_EEPROM_SB_REVISION_5 0x00050000 | 1917 | #define TG3_EEPROM_SB_REVISION_5 0x00050000 |
1918 | #define TG3_EEPROM_SB_REVISION_6 0x00060000 | ||
1918 | #define TG3_EEPROM_MAGIC_HW 0xabcd | 1919 | #define TG3_EEPROM_MAGIC_HW 0xabcd |
1919 | #define TG3_EEPROM_MAGIC_HW_MSK 0xffff | 1920 | #define TG3_EEPROM_MAGIC_HW_MSK 0xffff |
1920 | 1921 | ||
@@ -1934,6 +1935,7 @@ | |||
1934 | #define TG3_EEPROM_SB_F1R3_EDH_OFF 0x18 | 1935 | #define TG3_EEPROM_SB_F1R3_EDH_OFF 0x18 |
1935 | #define TG3_EEPROM_SB_F1R4_EDH_OFF 0x1c | 1936 | #define TG3_EEPROM_SB_F1R4_EDH_OFF 0x1c |
1936 | #define TG3_EEPROM_SB_F1R5_EDH_OFF 0x20 | 1937 | #define TG3_EEPROM_SB_F1R5_EDH_OFF 0x20 |
1938 | #define TG3_EEPROM_SB_F1R6_EDH_OFF 0x4c | ||
1937 | #define TG3_EEPROM_SB_EDH_MAJ_MASK 0x00000700 | 1939 | #define TG3_EEPROM_SB_EDH_MAJ_MASK 0x00000700 |
1938 | #define TG3_EEPROM_SB_EDH_MAJ_SHFT 8 | 1940 | #define TG3_EEPROM_SB_EDH_MAJ_SHFT 8 |
1939 | #define TG3_EEPROM_SB_EDH_MIN_MASK 0x000000ff | 1941 | #define TG3_EEPROM_SB_EDH_MIN_MASK 0x000000ff |