diff options
author | Ayaz Abdulla <aabdulla@nvidia.com> | 2009-02-07 00:24:39 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 00:24:39 -0800 |
commit | c1086cda7d46885d672d282af04d1273b001442f (patch) | |
tree | 87e4a13822b39667e23e59b551b91e671082307b | |
parent | b6e4405bf7241ae91c497e021370066fcfb196c8 (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>
-rw-r--r-- | drivers/net/forcedeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 47962ed4b04..cb41897f286 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) struct fe_priv *np = netdev_priv(dev); if (np->driver_data & DEV_HAS_CHECKSUM) - return ethtool_op_set_tx_hw_csum(dev, data); + return ethtool_op_set_tx_csum(dev, data); else return -EOPNOTSUPP; } |