diff options
author | Ed Swierk <eswierk@skyportsystems.com> | 2015-01-03 04:27:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-07 01:16:55 +0300 |
commit | 2f4383667d57d1c719070db86b14277277752841 (patch) | |
tree | b9679f46faa428c0090cf8f63bed02130b863243 /lib/devres.c | |
parent | 53831aa12538f8753fb77b7ab6408cce54973b30 (diff) | |
download | linux-2f4383667d57d1c719070db86b14277277752841.tar.xz |
ethtool: Extend ethtool plugin module eeprom API to phylib
This patch extends the ethtool plugin module eeprom API to support cards
whose phy support is delegated to a separate driver.
The handlers for ETHTOOL_GMODULEINFO and ETHTOOL_GMODULEEEPROM call the
module_info and module_eeprom functions if the phy driver provides them;
otherwise the handlers call the equivalent ethtool_ops functions provided
by network drivers with built-in phy support.
Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions