diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-01-24 11:03:16 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-02-28 12:33:32 +0000 |
commit | 689e810d0fd903c50ac033cd801b772dbb9e55ee (patch) | |
tree | 2c1623379574153db1b318ad3355d8bc024273fe /security | |
parent | ef4ef397223fb921ddb2eac03bb8004afeabb882 (diff) |
net: phylink: add separate pcs operations structure
Add a separate set of PCS operations, which MAC drivers can use to
couple phylink with their associated MAC PCS layer. The PCS
operations include:
- pcs_get_state() - reads the link up/down, resolved speed, duplex
and pause from the PCS.
- pcs_config() - configures the PCS for the specified mode, PHY
interface type, and setting the advertisement.
- pcs_an_restart() - restarts 802.3 in-band negotiation with the
link partner
- pcs_link_up() - informs the PCS that link has come up, and the
parameters of the link. Link parameters are used to program the
PCS for fixed speed and non-inband modes.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions