diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2021-10-07 13:07:41 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-01-12 11:07:30 +0000 |
commit | 78ec297a202cac8c7a25f7c4d04bb6c0d9e88169 (patch) | |
tree | c6d93a2536a0660c17a00ec1c857336204763b1e /drivers/cpufreq/pxa2xx-cpufreq.c | |
parent | 1393faa68a414d041fc714987bc9d84d438fc725 (diff) |
net: phylink: add mac_select_pcs() method to phylink_mac_ops
mac_select_pcs() allows us to have an explicit point to query which
PCS the MAC wishes to use for a particular PHY interface mode, thereby
allowing us to add support to validate the link settings with the PCS.
Phylink will also use this to select the PCS to be used during a major
configuration event without the MAC driver needing to call
phylink_set_pcs().
Note that if mac_select_pcs() is present, the supported_interfaces
bitmap must be filled in; this avoids mac_select_pcs() being called
with PHY_INTERFACE_MODE_NA when we want to get support for all
interface types. Phylink will return an error in phylink_create()
unless this condition is satisfied.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/cpufreq/pxa2xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions