diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-11-21 00:36:22 +0000 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-23 16:13:39 -0800 |
commit | d46b7e4fb06037a61415f5b6964fcf632ee1dc34 (patch) | |
tree | d841ff4cec5acfc14f0517b409b055d279895832 /kernel/bpf | |
parent | ab818362c9054beb950b97a09ce7b0d56f5a32a1 (diff) |
net: phylink: rename mac_link_state() op to mac_pcs_get_state()
Rename the mac_link_state() method to mac_pcs_get_state() to make it
clear that it should be returning the MACs PCS current state, which
is used for inband negotiation rather than just reading back what the
MAC has been configured for. Update the documentation to explicitly
mention that this is for inband.
We drop the return value as well; most of phylink doesn't check the
return value and it is not clear what it should do on error - instead
arrange for state->link to be false.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions