diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2010-08-17 11:31:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-17 11:31:15 +0200 |
commit | 01414802054c382072b6cb9a1bdc6e243c74b2d5 (patch) | |
tree | f09b05eb9fff16a69d83ec28653992d1bae8d74c /drivers/scsi/libsas | |
parent | net/decnet: Adjust confusing if indentation (diff) | |
download | linux-01414802054c382072b6cb9a1bdc6e243c74b2d5.tar.xz linux-01414802054c382072b6cb9a1bdc6e243c74b2d5.zip |
ethtool: Provide a default implementation of ethtool_ops::get_drvinfo
The driver name and bus address for a net_device can normally be found
through the driver model now. Instead of requiring drivers to provide
this information redundantly through the ethtool_ops::get_drvinfo
operation, use the driver model to do so if the driver does not define
the operation. Since ETHTOOL_GDRVINFO no longer requires the driver
to implement any operations, do not require net_device::ethtool_ops to
be set either.
Remove implementations of get_drvinfo and ethtool_ops that provide
only this information.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/libsas')
0 files changed, 0 insertions, 0 deletions