diff options
| author | 2024-03-26 14:32:08 +0100 | |
|---|---|---|
| committer | 2024-03-28 19:21:33 -0700 | |
| commit | dceb393a0a8e82ff05b7c1f6c911d0779d856a7a (patch) | |
| tree | 92ac1d75f76ae6a5f200eece24c8f0ae71c67374 /net/unix/garbage.c | |
| parent | net: phylink: add PHY_F_RXC_ALWAYS_ON to PHY dev flags (diff) | |
| download | wireguard-linux-dceb393a0a8e82ff05b7c1f6c911d0779d856a7a.tar.xz wireguard-linux-dceb393a0a8e82ff05b7c1f6c911d0779d856a7a.zip | |
net: phylink: add rxc_always_on flag to phylink_pcs
Some MAC drivers (e.g. stmmac) require a continuous receive clock signal to
be generated by a PCS that is handled by a standalone PCS driver.
Such a PCS driver does not have access to a PHY device, thus cannot check
the PHY_F_RXC_ALWAYS_ON flag. They cannot check max_requires_rxc in the
phylink config either, since it is a private member. Therefore, a new flag
is needed to signal to the PCS that it should keep the RX clock signal up
at all times.
Co-developed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Romain Gantois <romain.gantois@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240326-rxc_bugfix-v6-2-24a74e5c761f@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
