]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Extend the ethtool API to obtain plugin module eeprom data
authorStuart Hodgson <smhodgson@solarflare.com>
Thu, 19 Apr 2012 08:44:42 +0000 (09:44 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 10 May 2012 01:22:17 +0000 (02:22 +0100)
commit1e442abcde4f9c06a050bba1c9b55728a33325ed
treecc816536a6cc0b5c6e971a2b8b0828e1ee9f43b9
parentb8e8d00dd06b78e96d58a1cd7d32e970cb71e692
ethtool: Extend the ethtool API to obtain plugin module eeprom data

ETHTOOL_GMODULEINFO returns a new struct ethtool_modinfo that will return the
type and size of plug-in module eeprom (such as SFP+) for parsing
by userland program.

ETHTOOL_GMODULEEEPROM returns the raw eeprom information
using the existing ethtool_eeprom structture to return the data

Signed-off-by: Stuart Hodgson <smhodgson@solarflare.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
include/linux/ethtool.h
net/core/ethtool.c