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 3943d89..050e6b5 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;