diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-13 08:03:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-16 01:14:40 -0500 |
commit | e849cdc309de4a1e49dc3c23c6c36da91b990c9f (patch) | |
tree | 1809164b142f3b8788e27192f16210c4f677d6d8 /drivers/net/tg3.h | |
parent | 507399f18ea5810de42f0ea228c14305a8f67512 (diff) |
tg3: Add new HW_TSO_3 flag for 5717
The 5717 sets up TSO slightly differently in the transmit path. It
looks like this method will be the new way of doing things. This patch
defines a flag to indicate this.
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 590a692d6a95..5fe57603d1f0 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2753,6 +2753,7 @@ struct tg3 { | |||
2753 | #define TG3_FLG2_SERDES_PREEMPHASIS 0x00020000 | 2753 | #define TG3_FLG2_SERDES_PREEMPHASIS 0x00020000 |
2754 | #define TG3_FLG2_5705_PLUS 0x00040000 | 2754 | #define TG3_FLG2_5705_PLUS 0x00040000 |
2755 | #define TG3_FLG2_5750_PLUS 0x00080000 | 2755 | #define TG3_FLG2_5750_PLUS 0x00080000 |
2756 | #define TG3_FLG2_HW_TSO_3 0x00100000 | ||
2756 | #define TG3_FLG2_USING_MSI 0x00200000 | 2757 | #define TG3_FLG2_USING_MSI 0x00200000 |
2757 | #define TG3_FLG2_USING_MSIX 0x00400000 | 2758 | #define TG3_FLG2_USING_MSIX 0x00400000 |
2758 | #define TG3_FLG2_USING_MSI_OR_MSIX (TG3_FLG2_USING_MSI | \ | 2759 | #define TG3_FLG2_USING_MSI_OR_MSIX (TG3_FLG2_USING_MSI | \ |
@@ -2764,7 +2765,9 @@ struct tg3 { | |||
2764 | #define TG3_FLG2_ICH_WORKAROUND 0x02000000 | 2765 | #define TG3_FLG2_ICH_WORKAROUND 0x02000000 |
2765 | #define TG3_FLG2_5780_CLASS 0x04000000 | 2766 | #define TG3_FLG2_5780_CLASS 0x04000000 |
2766 | #define TG3_FLG2_HW_TSO_2 0x08000000 | 2767 | #define TG3_FLG2_HW_TSO_2 0x08000000 |
2767 | #define TG3_FLG2_HW_TSO (TG3_FLG2_HW_TSO_1 | TG3_FLG2_HW_TSO_2) | 2768 | #define TG3_FLG2_HW_TSO (TG3_FLG2_HW_TSO_1 | \ |
2769 | TG3_FLG2_HW_TSO_2 | \ | ||
2770 | TG3_FLG2_HW_TSO_3) | ||
2768 | #define TG3_FLG2_1SHOT_MSI 0x10000000 | 2771 | #define TG3_FLG2_1SHOT_MSI 0x10000000 |
2769 | #define TG3_FLG2_PHY_JITTER_BUG 0x20000000 | 2772 | #define TG3_FLG2_PHY_JITTER_BUG 0x20000000 |
2770 | #define TG3_FLG2_NO_FWARE_REPORTED 0x40000000 | 2773 | #define TG3_FLG2_NO_FWARE_REPORTED 0x40000000 |