]> git.baikalelectronics.ru Git - 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)
commitb8e8d00dd06b78e96d58a1cd7d32e970cb71e692
treec8b1533cc8910c9259465eb4a4f1cdc953444e3f
parent6b2fe7419d916df48a734458b9b782d749efd39b
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