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
..
2007-07-31 15:39:39 -07:00
2007-10-09 12:38:26 -07:00
2007-08-22 19:52:46 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:42 -07:00
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
2007-09-17 00:58:40 -04:00
2007-09-11 17:21:51 +02:00
2007-07-20 14:25:51 +10:00
2007-07-31 15:39:37 -07:00
2007-09-28 16:21:10 -07:00
2007-09-11 17:21:19 -07:00
2007-06-28 19:19:20 +10:00
2007-10-10 16:51:13 -07:00
2007-09-11 17:21:19 -07:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-10-10 16:51:13 -07:00
2007-09-19 11:24:18 -07:00
2007-07-26 11:35:17 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00