diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2013-04-30 19:14:57 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-04-30 19:19:42 +0100 |
commit | 0e061da5b137d4236e737abdb501d386a75d29a0 (patch) | |
tree | fce516917c552c5c04406cada7d5ae10c2d8d9aa /net_tstamp-copy.h | |
parent | d655af4172ac05449d1a371766c42b5d67429f21 (diff) | |
download | ethtool-0e061da5b137d4236e737abdb501d386a75d29a0.tar.gz |
ixgbe: check mac type from ethtool_regs.version
This patch cleans up the mac type checks by using ethtool_regs.version
provided by the driver. This change eliminates the need to add device IDs
every time they are added to the driver.
Note that when using ethtool with this patch with a version of ixgbe that
does not provide the mac_type in ethtool_regs.version the register dump
may be incomplete. However this issue would've existed previously for
device IDs that were not added to ethtool.
Original patch and description by Emil Tantilov <emil.s.tantilov@intel.com>.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'net_tstamp-copy.h')
0 files changed, 0 insertions, 0 deletions