aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAyaz Abdulla <aabdulla@nvidia.com>2009-02-07 03:24:39 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-07 03:24:39 -0500
commitc1086cda7d46885d672d282af04d1273b001442f (patch)
tree87e4a13822b39667e23e59b551b91e671082307b /drivers
parentb6e4405bf7241ae91c497e021370066fcfb196c8 (diff)
forcedeth: ethtool tx csum fix
This patch fixes the ethtool tx csum "set" command. A recent patch was submitted to remove HW_CSUM and use IP_CSUM instead. Therefore, the corresponding ethtool command should also be modified. Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/forcedeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 47962ed4b04c..cb41897f286e 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -4763,7 +4763,7 @@ static int nv_set_tx_csum(struct net_device *dev, u32 data)
4763 struct fe_priv *np = netdev_priv(dev); 4763 struct fe_priv *np = netdev_priv(dev);
4764 4764
4765 if (np->driver_data & DEV_HAS_CHECKSUM) 4765 if (np->driver_data & DEV_HAS_CHECKSUM)
4766 return ethtool_op_set_tx_hw_csum(dev, data); 4766 return ethtool_op_set_tx_csum(dev, data);
4767 else 4767 else
4768 return -EOPNOTSUPP; 4768 return -EOPNOTSUPP;
4769} 4769}