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)
commit41c3cb6d20f0252308e9796fa4f3dacb4960de91
treecc816536a6cc0b5c6e971a2b8b0828e1ee9f43b9
parent081d094eaab894ae5a517fde56179dfe67773ff0
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