linux-stable/drivers/net/ixgb
Jeff Garzik 88d3aafdae [ETHTOOL] Provide default behaviors for a few ethtool sub-ioctls
For the operations
	get-tx-csum
	get-sg
	get-tso
	get-ufo
the default ethtool_op_xxx behavior is fine for all drivers, so we
permit op==NULL to imply the default behavior.

This provides a more uniform behavior across all drivers, eliminating
ethtool(8) "ioctl not supported" errors on older drivers that had
not been updated for the latest sub-ioctls.

The ethtool_op_xxx() functions are left exported, in case anyone
wishes to call them directly from a driver-private implementation --
a not-uncommon case.  Should an ethtool_op_xxx() helper remain unused
for a while, except by net/core/ethtool.c, we can un-export it at a
later date.

[ Resolved conflicts with set/get value ethtool patch... -DaveM ]

Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:51:17 -07:00
..
ixgb.h [NET]: Make NAPI polling independent of struct net_device objects. 2007-10-10 16:47:45 -07:00
ixgb_ee.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
ixgb_ee.h e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00
ixgb_ethtool.c [ETHTOOL] Provide default behaviors for a few ethtool sub-ioctls 2007-10-10 16:51:17 -07:00
ixgb_hw.c ixgb: Write RA register high word first, increment version 2007-01-06 09:51:41 -08:00
ixgb_hw.h e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00
ixgb_ids.h e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00
ixgb_main.c [NET]: Nuke SET_MODULE_OWNER macro. 2007-10-10 16:51:13 -07:00
ixgb_osdep.h PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ixgb_param.c ixgb: ROUND_UP macro cleanup in drivers/net/ixgb 2007-04-28 11:01:07 -04:00
Makefile e100, e1000, ixgb: update copyright header and remove LICENSE 2006-09-27 12:53:14 -07:00