diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-04-20 02:57:14 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-21 04:41:00 -0400 |
commit | df259d8cba7d7880dc04d34c7a6e0ce15fbc9644 (patch) | |
tree | 21382c9803303c424e9a87d552754960f6b5706e /drivers/net/tg3.h | |
parent | 624f8e5082efd0348ccf7e3d3f4bfc41efead26c (diff) |
tg3: Handle NVRAM absent cases
Some 57780 ASIC revision parts do not have NVRAM. Code the driver so
that it is tolerant of this configuration.
Signed-off-by: Matt Carlson <mcarlson@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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index ca71a49a3fd..afbabf283c5 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2636,6 +2636,7 @@ struct tg3 { | |||
2636 | #define TG3_FLG3_CLKREQ_BUG 0x00000800 | 2636 | #define TG3_FLG3_CLKREQ_BUG 0x00000800 |
2637 | #define TG3_FLG3_PHY_ENABLE_APD 0x00001000 | 2637 | #define TG3_FLG3_PHY_ENABLE_APD 0x00001000 |
2638 | #define TG3_FLG3_5755_PLUS 0x00002000 | 2638 | #define TG3_FLG3_5755_PLUS 0x00002000 |
2639 | #define TG3_FLG3_NO_NVRAM 0x00004000 | ||
2639 | 2640 | ||
2640 | struct timer_list timer; | 2641 | struct timer_list timer; |
2641 | u16 timer_counter; | 2642 | u16 timer_counter; |