net: Fix Yukon-2 Optima TCP offload setup

Submitted by Sebastian Spaeth on March 11, 2010, 1:17 p.m.

Details

Message ID 1268313433-7030-4-git-send-email-Sebastian@SSpaeth.de
State Superseded
Delegated to: Stefan Bader
Headers show

Commit Message

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 hide | download patch | download mbox

--- 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;