linux/drivers/net/ethernet/chelsio/cxgb4
Wilfried Klaebe 7ad24ea4bf net: get rid of SET_ETHTOOL_OPS
net: get rid of SET_ETHTOOL_OPS

Dave Miller mentioned he'd like to see SET_ETHTOOL_OPS gone.
This does that.

Mostly done via coccinelle script:
@@
struct ethtool_ops *ops;
struct net_device *dev;
@@
-       SET_ETHTOOL_OPS(dev, ops);
+       dev->ethtool_ops = ops;

Compile tested only, but I'd seriously wonder if this broke anything.

Suggested-by: Dave Miller <davem@davemloft.net>
Signed-off-by: Wilfried Klaebe <w-lkml@lebenslange-mailadresse.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-13 17:43:20 -04:00
..
cxgb4_main.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
cxgb4_uld.h cxgb4: Query firmware for T5 ULPTX MEMWRITE DSGL capabilities 2014-02-18 16:23:01 -05:00
cxgb4.h cxgb4/iw_cxgb4: Doorbell Drop Avoidance Bug Fixes 2014-03-14 22:44:11 -04:00
l2t.c cxgb4: Save the correct mac addr for hw-loopback connections in the L2T 2014-04-14 16:26:48 -04:00
l2t.h cxgb4: Add API to correctly calculate tuple fields 2013-12-22 18:09:08 -05:00
Makefile
sge.c cxgb4: Check if rx checksum offload is enabled, while reading hardware calculated checksum 2014-05-12 12:47:46 -04:00
t4_hw.c cxgb4: use the correct max size for firmware flash 2014-04-15 15:50:02 -04:00
t4_hw.h cxgb4: Initialize T5 2013-03-14 11:35:53 -04:00
t4_msg.h cxgb4/iw_cxgb4: Treat CPL_ERR_KEEPALV_NEG_ADVICE as negative advice 2014-03-14 22:44:11 -04:00
t4_regs.h cxgb4: Updates for T5 SGE's Egress Congestion Threshold 2014-03-13 14:36:05 -04:00
t4fw_api.h cxgb4: Query firmware for T5 ULPTX MEMWRITE DSGL capabilities 2014-02-18 16:23:01 -05:00