diff options
author | Marek BehĂșn <kabel@kernel.org> | 2020-10-20 19:09:11 +0200 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-09-19 13:22:16 +0100 |
commit | e77daa70521c36402efe3f87951852358182bc08 (patch) | |
tree | ff9395dfe742bf49b565e978245d6b0b22703d22 /init | |
parent | b096813a94db41df365a1b9a20e4de7176b185ff (diff) |
net: dsa: fill phylink's config supported_interfaces member
Add a new DSA switch operation, phylink_get_interfaces, which should
fill in which PHY_INTERFACE_MODE_* are supported by given port.
Use this before phylink_create to fill phylink's config
supported_interfaces member.
This allows for phylink to determine which PHY_INTERFACE_MODE to use
with SFP modules.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions