diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-04-15 04:50:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-15 15:50:39 -0700 |
commit | 6de240b7f714d63ca2a53d52c7eefb37e7eb3f1b (patch) | |
tree | 999bda93edb96c1010fec51e51bb0e44c911f998 /drivers/net/spider_net_ethtool.c | |
parent | 911cb193f3eb0370f20fbba712211e55ffede4de (diff) | |
download | blackbird-op-linux-6de240b7f714d63ca2a53d52c7eefb37e7eb3f1b.tar.gz blackbird-op-linux-6de240b7f714d63ca2a53d52c7eefb37e7eb3f1b.zip |
net: spider_net: convert to hw_features
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/spider_net_ethtool.c')
-rw-r--r-- | drivers/net/spider_net_ethtool.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/net/spider_net_ethtool.c b/drivers/net/spider_net_ethtool.c index 5bae728c3820..d723fca872ce 100644 --- a/drivers/net/spider_net_ethtool.c +++ b/drivers/net/spider_net_ethtool.c @@ -115,24 +115,6 @@ spider_net_ethtool_nway_reset(struct net_device *netdev) return 0; } -static u32 -spider_net_ethtool_get_rx_csum(struct net_device *netdev) -{ - struct spider_net_card *card = netdev_priv(netdev); - - return card->options.rx_csum; -} - -static int -spider_net_ethtool_set_rx_csum(struct net_device *netdev, u32 n) -{ - struct spider_net_card *card = netdev_priv(netdev); - - card->options.rx_csum = n; - return 0; -} - - static void spider_net_ethtool_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering) @@ -189,9 +171,6 @@ const struct ethtool_ops spider_net_ethtool_ops = { .set_msglevel = spider_net_ethtool_set_msglevel, .get_link = ethtool_op_get_link, .nway_reset = spider_net_ethtool_nway_reset, - .get_rx_csum = spider_net_ethtool_get_rx_csum, - .set_rx_csum = spider_net_ethtool_set_rx_csum, - .set_tx_csum = ethtool_op_set_tx_csum, .get_ringparam = spider_net_ethtool_get_ringparam, .get_strings = spider_net_get_strings, .get_sset_count = spider_net_get_sset_count, |