backports: handle new get_module_info and get_module_eeprom pointers in struct ethtoo...
authorStefan Assmann <sassmann@kpanic.de>
Fri, 16 May 2014 11:21:19 +0000 (13:21 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jun 2014 22:16:14 +0000 (00:16 +0200)
commit54584122b3279700f5ef2ba4f260a84273215947
tree9c511413defe7939923081c687691402674fe4d8
parenta2aeca729ea2261309134d07a602f64ce2eab9ff
backports: handle new get_module_info and get_module_eeprom pointers in struct ethtool_ops

In kernel 3.5 struct ethtool_ops received 2 new function pointers
get_module_info and get_module_eeprom. Address this by putting ifdef around
the code.

commit 41c3cb6d20f0252308e9796fa4f3dacb4960de91
Author: Stuart Hodgson <smhodgson@solarflare.com>
Date:   Thu Apr 19 09:44:42 2012 +0100

    ethtool: Extend the ethtool API to obtain plugin module eeprom data

git describe --contains 41c3cb6d20f0252308e9796fa4f3dacb4960de91
v3.5-rc1~109^2~124^2~2

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
patches/collateral-evolutions/network/0037-ethtool_get_module/INFO [new file with mode: 0644]
patches/collateral-evolutions/network/0037-ethtool_get_module/igb_get_module.patch [new file with mode: 0644]