OpenCloudOS-Kernel/drivers/net/chelsio
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
..
Makefile chelsio: remove unused code for 1G boards 2007-04-28 11:00:55 -04:00
common.h [NET]: Make NAPI polling independent of struct net_device objects. 2007-10-10 16:47:45 -07:00
cphy.h chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
cpl5_cmd.h chelsio: spaces, tabs and friends 2007-02-05 16:58:43 -05:00
cxgb2.c [ETHTOOL] Provide default behaviors for a few ethtool sub-ioctls 2007-10-10 16:51:17 -07:00
elmer0.h chelsio: spaces, tabs and friends 2007-02-05 16:58:43 -05:00
espi.c chelsio: spaces, tabs and friends 2007-02-05 16:58:43 -05:00
espi.h [PATCH] chelsio: add support for other 10G boards 2006-12-02 00:24:49 -05:00
fpga_defs.h chelsio: spaces, tabs and friends 2007-02-05 16:58:43 -05:00
gmac.h chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
mac.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
mv88e1xxx.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
mv88e1xxx.h [PATCH] chelsio: add support for other 10G boards 2006-12-02 00:24:49 -05:00
mv88x201x.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
my3126.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
pm3393.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
regs.h [PATCH] chelsio: add support for other 10G boards 2006-12-02 00:24:49 -05:00
sge.c [NET]: Make NAPI polling independent of struct net_device objects. 2007-10-10 16:47:45 -07:00
sge.h [NET]: Make NAPI polling independent of struct net_device objects. 2007-10-10 16:47:45 -07:00
subr.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
suni1x10gexp_regs.h chelsio parenthesis fix 2007-05-24 17:37:00 -04:00
tp.c chelsio: spaces, tabs and friends 2007-02-05 16:58:43 -05:00
tp.h [PATCH] chelsio: add support for other 10G boards 2006-12-02 00:24:49 -05:00
vsc7326.c chelsio: use const for virtual functions 2007-04-28 11:00:56 -04:00
vsc7326_reg.h chelsio: tabulate the update of the statistic counters 2007-02-05 16:58:43 -05:00