From: Takashi Iwai Date: Thu, 3 Dec 2009 05:12:01 +0000 (+0000) Subject: net: Fix Yukon-2 Optima TCP offload setup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b338682dc5c20e8ff986e58407bdb6e3a3e3f0a3;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Signed-off-by: David S. Miller --- 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) break; case CHIP_ID_YUKON_UL_2: + hw->flags = SKY2_HW_GIGABIT + | SKY2_HW_ADV_POWER_CTL; + break; + case CHIP_ID_YUKON_OPT: hw->flags = SKY2_HW_GIGABIT + | SKY2_HW_NEW_LE | SKY2_HW_ADV_POWER_CTL; break;