net: Fix Yukon-2 Optima TCP offload setup
authorTakashi Iwai <tiwai@suse.de>
Thu, 3 Dec 2009 05:12:01 +0000 (05:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Dec 2009 22:54:31 +0000 (14:54 -0800)
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>
drivers/net/sky2.c

index 3943d89afb2b05fb67e3b66ecc1ff3ceaa070acd..050e6b58d4f9d48faa4f758e9b8cf4c5f2e97201 100644 (file)
@@ -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;