Patchwork net: Fix Yukon-2 Optima TCP offload setup

login
register
mail settings
Submitter Sebastian Spaeth
Date March 11, 2010, 1:17 p.m.
Message ID <1268313433-7030-4-git-send-email-Sebastian@SSpaeth.de>
Download mbox | patch
Permalink /patch/47317/
State Superseded
Delegated to: Stefan Bader
Headers show

Comments

Sebastian Spaeth - March 11, 2010, 1:17 p.m.
From: Takashi Iwai <tiwai@suse.de>

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 file changed, 5 insertions(+)

Patch

--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2935,8 +2935,13 @@  static int __devinit sky2_init(struct sk
 		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;