summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2021-04-09 11:06:38 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-12 02:34:56 +0300
commit95dfc7effd88b49d66791678e042970824cae838 (patch)
treefd96e8357cd2d37a6d8e78a7f4f099b8f07e1a15 /security
parent4c88fa412a100f925b8ab1aa952a672895f69d35 (diff)
downloadlinux-95dfc7effd88b49d66791678e042970824cae838.tar.xz
net: ethtool: Export helpers for getting EEPROM info
There are two ways to retrieve information from SFP EEPROMs. Many devices make use of the common code, and assign the sfp_bus pointer in the netdev to point to the bus holding the SFP device. Some MAC drivers directly implement ops in there ethool structure. Export within net/ethtool the two helpers used to call these methods, so that they can also be used in the new netlink code. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions