aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2010-10-14 06:37:38 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-17 16:57:42 -0400
commitbba226acf4d13586ce47cf8376db33bed7bc0bd6 (patch)
treed8630345f5987c914c8c21b92a4a23dc4433bd3e /drivers/net/tg3.c
parent19f572565ef66a0439574fd2299a7c804147e133 (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.c')
-rw-r--r--drivers/net/tg3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 943c28325444..978ba5d8c253 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -12702,6 +12702,9 @@ static void __devinit tg3_read_sb_ver(struct tg3 *tp, u32 val)
12702 case TG3_EEPROM_SB_REVISION_5: 12702 case TG3_EEPROM_SB_REVISION_5:
12703 offset = TG3_EEPROM_SB_F1R5_EDH_OFF; 12703 offset = TG3_EEPROM_SB_F1R5_EDH_OFF;
12704 break; 12704 break;
12705 case TG3_EEPROM_SB_REVISION_6:
12706 offset = TG3_EEPROM_SB_F1R6_EDH_OFF;
12707 break;
12705 default: 12708 default:
12706 return; 12709 return;
12707 } 12710 }