commit | c97a31f66ebcab54c006878142fb683c6116bed1 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Fri Apr 09 11:06:41 2021 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 11 16:34:56 2021 -0700 |
tree | 037c408e352f6153987c06ff9e2ef5431e2a0c8e | |
parent | d740513f05a24b1a46722325974223980f068728 [diff] |
ethtool: wire in generic SFP module access If the device has a sfp bus attached, call its sfp_get_module_eeprom_by_page() function, otherwise use the ethtool op for the device. This follows how the IOCTL works. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>