]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ethtool: Split ethtool_get_eeprom() to allow for additional EEPROM accessors
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 12 Apr 2012 00:42:12 +0000 (00:42 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 10 May 2012 01:22:17 +0000 (02:22 +0100)
commit081d094eaab894ae5a517fde56179dfe67773ff0
treec8b1533cc8910c9259465eb4a4f1cdc953444e3f
parent64235187c2b32913fc41dfafc98e3a77ea7c0217
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>
net/core/ethtool.c