diff options
Diffstat (limited to 'drivers/net/sunhme.c')
-rw-r--r-- | drivers/net/sunhme.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index eb4f59fb01e9..80e907df36b4 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c | |||
@@ -2788,7 +2788,8 @@ static int __devinit happy_meal_sbus_probe_one(struct platform_device *op, int i | |||
2788 | dev->ethtool_ops = &hme_ethtool_ops; | 2788 | dev->ethtool_ops = &hme_ethtool_ops; |
2789 | 2789 | ||
2790 | /* Happy Meal can do it all... */ | 2790 | /* Happy Meal can do it all... */ |
2791 | dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; | 2791 | dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; |
2792 | dev->features |= dev->hw_features | NETIF_F_RXCSUM; | ||
2792 | 2793 | ||
2793 | dev->irq = op->archdata.irqs[0]; | 2794 | dev->irq = op->archdata.irqs[0]; |
2794 | 2795 | ||
@@ -3113,7 +3114,8 @@ static int __devinit happy_meal_pci_probe(struct pci_dev *pdev, | |||
3113 | dev->dma = 0; | 3114 | dev->dma = 0; |
3114 | 3115 | ||
3115 | /* Happy Meal can do it all... */ | 3116 | /* Happy Meal can do it all... */ |
3116 | dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; | 3117 | dev->hw_features = NETIF_F_SG | NETIF_F_HW_CSUM; |
3118 | dev->features |= dev->hw_features | NETIF_F_RXCSUM; | ||
3117 | 3119 | ||
3118 | #if defined(CONFIG_SBUS) && defined(CONFIG_PCI) | 3120 | #if defined(CONFIG_SBUS) && defined(CONFIG_PCI) |
3119 | /* Hook up PCI register/descriptor accessors. */ | 3121 | /* Hook up PCI register/descriptor accessors. */ |