[PATCH net-next RESEND v4 3/4] net: phy: Add helper to derive the number of ports from a phy mode
Andrew Lunn
andrew at lunn.ch
Thu Aug 18 15:04:17 PDT 2022
On Wed, Aug 17, 2022 at 02:32:54PM +0200, Maxime Chevallier wrote:
> Some phy modes such as QSGMII multiplex several MAC<->PHY links on one
> single physical interface. QSGMII used to be the only one supported, but
> other modes such as QUSGMII also carry multiple links.
>
> This helper allows getting the number of links that are multiplexed
> on a given interface.
>
> Signed-off-by: Maxime Chevallier <maxime.chevallier at bootlin.com>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list