diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-09-24 11:01:13 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-20 10:47:20 +0000 |
commit | 2aac4d3f080d530bbf590bb5249e2ce6f57a8aa6 (patch) | |
tree | 22a89e9e2ae81128983b50a23e1910780a50d7ee /drivers/net/phy/Makefile | |
parent | c8aa45c936a98312a44084c2e3d5a67fbb3ceeb0 (diff) |
phylink: add hooks for SFP support
Add support to phylink for SFP, which needs to control and configure
the ethernet MAC link state. Specifically, SFP needs to:
1. set the negotiation mode between SGMII and 1000base-X
2. attach and detach the module PHY
3. prevent the link coming up when errors are reported
In the absence of a PHY, we also need to set the ethtool port type
according to the module plugged in.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
- rework phylink_set_link_*(), combining into a single function.
Diffstat (limited to 'drivers/net/phy/Makefile')
0 files changed, 0 insertions, 0 deletions