2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/net/ethernet/intel/ixgbevf
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
..
defines.h ixgbevf: merge ixgbevf_tx_map and ixgbevf_tx_queue into a single function 2014-01-17 19:15:10 -08:00
ethtool.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
ixgbevf_main.c ixgbevf: remove 82599 from the module description 2014-04-23 00:17:39 -07:00
ixgbevf.h ixgbevf: Add bit to mark work queue initialization 2014-04-11 05:58:06 -07:00
Makefile ixgbevf: Update copyright notices 2012-02-03 03:07:09 -08:00
mbx.c ixgbevf: Fix code for handling timeout 2012-09-24 00:21:51 -07:00
mbx.h ixgbevf: Add VF DCB + SR-IOV support 2012-10-22 21:15:35 -07:00
regs.h ixgbevf: Use static inlines instead of macros 2014-03-21 01:59:48 -07:00
vf.c net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
vf.h ixgbevf: Change ixgbe_read_reg to ixgbevf_read_reg 2014-03-31 15:48:01 -07:00