diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-03 00:12:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-11 17:54:31 -0500 |
commit | b338682dc5c20e8ff986e58407bdb6e3a3e3f0a3 (patch) | |
tree | 96a39950d1b53fade0433e7a36393dc8e8f779a7 /drivers/net | |
parent | ba2dca91f000e4796c23d14834680dd90528842f (diff) |
net: Fix Yukon-2 Optima TCP offload setup
Fix the TCP offload setup for Yukon-2 Optima.
It requires SKY2_HW_NE_LE flag unlike Ultra 2.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/sky2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 3943d89afb2b..050e6b58d4f9 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -2968,8 +2968,13 @@ static int __devinit sky2_init(struct sky2_hw *hw) | |||
2968 | break; | 2968 | break; |
2969 | 2969 | ||
2970 | case CHIP_ID_YUKON_UL_2: | 2970 | case CHIP_ID_YUKON_UL_2: |
2971 | hw->flags = SKY2_HW_GIGABIT | ||
2972 | | SKY2_HW_ADV_POWER_CTL; | ||
2973 | break; | ||
2974 | |||
2971 | case CHIP_ID_YUKON_OPT: | 2975 | case CHIP_ID_YUKON_OPT: |
2972 | hw->flags = SKY2_HW_GIGABIT | 2976 | hw->flags = SKY2_HW_GIGABIT |
2977 | | SKY2_HW_NEW_LE | ||
2973 | | SKY2_HW_ADV_POWER_CTL; | 2978 | | SKY2_HW_ADV_POWER_CTL; |
2974 | break; | 2979 | break; |
2975 | 2980 | ||