[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200329172325.GD31812@lunn.ch>
Date: Sun, 29 Mar 2020 19:23:25 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Russell King <rmk+kernel@...linux.org.uk>
Cc: Florian Fainelli <f.fainelli@...il.com>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2 3/3] net: phylink: add separate pcs
operations structure
On Sun, Mar 29, 2020 at 05:01:18PM +0100, Russell King wrote:
> 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@...linux.org.uk>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists