Re: [net-next RFC PATCH] net: phylink: add .pcs_link_down PCS OP

From: Russell King (Oracle)
Date: Tue Jul 29 2025 - 04:38:01 EST


On Tue, Jul 29, 2025 at 10:21:23AM +0200, Christian Marangi wrote:
> Permit for PCS driver to define specific operation to torn down the link
> between the MAC and the PCS.
>
> This might be needed for some PCS that reset counter or require special
> reset to correctly work if the link needs to be restored later.
>
> On phylink_link_down() call, the additional phylink_pcs_link_down() will
> be called before .mac_link_down to torn down the link.
>
> PCS driver will need to define .pcs_link_down to make use of this.

I don't accept new stuff without a user. Please provide the user as
well. Thanks.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!