summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Osterkamp <Jens.Osterkamp@de.ibm.com>2006-03-27 17:16:36 +0200
committerJeff Garzik <jeff@garzik.org>2006-03-29 17:34:02 -0500
commit8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6 (patch)
tree3992bacdc53a6e640af93c204cef38726d9c9448
parentff59c4563a8d1b39597aab4917959146c61f09b0 (diff)
downloadlinux-8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6.tar.gz
linux-8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6.tar.bz2
linux-8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6.zip
[PATCH] spidernet : enable tx checksum offloading by default
This enables TX checksum offloading for the spidernet driver by default. Signed-off-by: Jens Osterkamp <Jens.Osterkamp@de.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/spider_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 0000de01ec15..43f5e86fc559 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -2086,7 +2086,7 @@ spider_net_setup_netdev(struct spider_net_card *card)
spider_net_setup_netdev_ops(netdev);
- netdev->features = 0;
+ netdev->features = NETIF_F_HW_CSUM;
/* some time: NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX |
* NETIF_F_HW_VLAN_FILTER */