commit | 081d094eaab894ae5a517fde56179dfe67773ff0 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Thu Apr 12 00:42:12 2012 +0000 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Thu May 10 02:22:17 2012 +0100 |
tree | c8b1533cc8910c9259465eb4a4f1cdc953444e3f | |
parent | 64235187c2b32913fc41dfafc98e3a77ea7c0217 [diff] |
ethtool: Split ethtool_get_eeprom() to allow for additional EEPROM accessors We want to support reading module (SFP+, XFP, ...) EEPROMs as well as NIC EEPROMs. They will need a different command number and driver operation, but the structure and arguments will be the same and so we can share most of the code here. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>