igb: add access to specific device info
authorLiang-Min Larry Wang <liang-min.wang@intel.com>
Thu, 16 Jul 2015 13:25:36 +0000 (09:25 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 16 Jul 2015 21:56:13 +0000 (23:56 +0200)
commit83c314da4c388f46cf3e84d06626dc2fa49b9ccb
tree2f64e3b227872dfff412f70f2a1bbbf676d02f4c
parent7a3f27cbf59b063dc364cdfb832e4ab85b3e42c2
igb: add access to specific device info

add function to support ethtool ops:
- get_reg_length
- get_regs
- get_eeprom_length
- get_eeprom
- set_eeprom

Signed-off-by: Liang-Min Larry Wang <liang-min.wang@intel.com>
Acked-by: Andrew Harvey <agh@cisco.com>
Acked-by: David Harton <dharton@cisco.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/e1000/igb_ethdev.c
drivers/net/e1000/igb_regs.h [new file with mode: 0644]