diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2010-02-17 15:16:56 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 17:27:35 -0800 |
commit | a4153d401ac440c73e0721db0b6b031e8e6f77d1 (patch) | |
tree | 9ae5458a45ee018108515929f905bab457d351cf /drivers/net/tg3.c | |
parent | d110114281fad580dd9ce629507d17b123169cff (diff) | |
download | kernel_samsung_smdk4412-a4153d401ac440c73e0721db0b6b031e8e6f77d1.zip kernel_samsung_smdk4412-a4153d401ac440c73e0721db0b6b031e8e6f77d1.tar.gz kernel_samsung_smdk4412-a4153d401ac440c73e0721db0b6b031e8e6f77d1.tar.bz2 |
tg3: Add support for 2 new selfboot formats
This patch adds new offsets to the bootcode version extraction code to
support NVRAM format versions 4 and 5.
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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 051b18a..f08e4b8 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -12753,6 +12753,12 @@ static void __devinit tg3_read_sb_ver(struct tg3 *tp, u32 val) case TG3_EEPROM_SB_REVISION_3: offset = TG3_EEPROM_SB_F1R3_EDH_OFF; break; + case TG3_EEPROM_SB_REVISION_4: + offset = TG3_EEPROM_SB_F1R4_EDH_OFF; + break; + case TG3_EEPROM_SB_REVISION_5: + offset = TG3_EEPROM_SB_F1R5_EDH_OFF; + break; default: return; } |