staging/slicoss: Use ethtool_ops instead of module_param.
authorKevin Wern <kevin.m.wern@gmail.com>
Sat, 16 Jan 2016 21:44:41 +0000 (13:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 05:45:59 +0000 (21:45 -0800)
commitc8e9b92d2957a1d49abc7b81ba3f89ad530d617b
tree678da3724399252ca0a28860457c37393432bfef
parente5349952de5b1138e6275529e4ec08c0ed33777f
staging/slicoss: Use ethtool_ops instead of module_param.

ethtool_ops has attributes in sub struct ethtool_coalesce that
correspond to the parameters intagg_delay and dynamic_intagg. It is
preferable to set these properties with ethtool rather than
module_param, so create these attributes in adapter and set them using
ethtool_coalesce's rx_coalesce_usecs and rx_use_adaptive_coalesce.
(Outlined in TODO file)

Signed-off-by: Kevin Wern <kevin.m.wern@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c