diff options
author | Michael Chan <mchan@broadcom.com> | 2005-07-25 15:30:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-25 15:30:38 -0400 |
commit | 0f893dc6ec890058d926224c8aa254d8621e0ea3 (patch) | |
tree | 9a9c42335bac0c05aed89ed7139a22d022f5d064 /drivers/net/tg3.h | |
parent | 4cf78e4fb678807e3f8265c9e9031a84f5c601f0 (diff) |
[TG3]: add 5780 basic jumbo frame support
Add basic jumbo frames support for 5780. This chip supports jumbo frames
on the standard receive ring without the jumbo ring. The
TG3_FLAG_JUMBO_ENABLE is changed to TG3_FLAG_JUMBO_RING_ENABLE to
indicate using the jumbo ring on 5704 and older chips. A new
TG3_FLG2_JUMBO_CAPABLE flag is added to indicate jumbo frames support
with or without the jumbo ring.
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 46fa105fce83..7cb2eefa7aad 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2125,7 +2125,7 @@ struct tg3 { | |||
2125 | #define TG3_FLAG_NO_TX_PSEUDO_CSUM 0x00100000 | 2125 | #define TG3_FLAG_NO_TX_PSEUDO_CSUM 0x00100000 |
2126 | #define TG3_FLAG_NO_RX_PSEUDO_CSUM 0x00200000 | 2126 | #define TG3_FLAG_NO_RX_PSEUDO_CSUM 0x00200000 |
2127 | #define TG3_FLAG_SERDES_WOL_CAP 0x00400000 | 2127 | #define TG3_FLAG_SERDES_WOL_CAP 0x00400000 |
2128 | #define TG3_FLAG_JUMBO_ENABLE 0x00800000 | 2128 | #define TG3_FLAG_JUMBO_RING_ENABLE 0x00800000 |
2129 | #define TG3_FLAG_10_100_ONLY 0x01000000 | 2129 | #define TG3_FLAG_10_100_ONLY 0x01000000 |
2130 | #define TG3_FLAG_PAUSE_AUTONEG 0x02000000 | 2130 | #define TG3_FLAG_PAUSE_AUTONEG 0x02000000 |
2131 | #define TG3_FLAG_BROKEN_CHECKSUMS 0x10000000 | 2131 | #define TG3_FLAG_BROKEN_CHECKSUMS 0x10000000 |
@@ -2155,6 +2155,7 @@ struct tg3 { | |||
2155 | #define TG3_FLG2_5750_PLUS 0x00080000 | 2155 | #define TG3_FLG2_5750_PLUS 0x00080000 |
2156 | #define TG3_FLG2_PROTECTED_NVRAM 0x00100000 | 2156 | #define TG3_FLG2_PROTECTED_NVRAM 0x00100000 |
2157 | #define TG3_FLG2_USING_MSI 0x00200000 | 2157 | #define TG3_FLG2_USING_MSI 0x00200000 |
2158 | #define TG3_FLG2_JUMBO_CAPABLE 0x00400000 | ||
2158 | 2159 | ||
2159 | u32 split_mode_max_reqs; | 2160 | u32 split_mode_max_reqs; |
2160 | #define SPLIT_MODE_5704_MAX_REQ 3 | 2161 | #define SPLIT_MODE_5704_MAX_REQ 3 |