Message ID | 1259853122-21134-2-git-send-email-tiwai@suse.de |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Takashi Iwai <tiwai@suse.de> Date: Thu, 3 Dec 2009 16:12:01 +0100 > 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> Stephen, you said last week you were going to stick this card type into one of your systems and give these patches a test. How's that coming along? These two patches are just rotting at the bottom of patchwork. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index a3d9991..0718cdd 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;
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> --- drivers/net/sky2.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)