[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <092bdca1-78f1-46f1-bd17-ac714102e097@lunn.ch>
Date: Mon, 4 Mar 2024 14:43:04 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Romain Gantois <romain.gantois@...tlin.com>
Cc: Russell King <linux@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Clément Léger <clement.leger@...tlin.com>,
Maxime Chevallier <maxime.chevallier@...tlin.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org,
linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH net-next v5 4/7] net: stmmac: Support a generic PCS field
in mac_device_info
On Fri, Mar 01, 2024 at 04:35:01PM +0100, Romain Gantois wrote:
> Global stmmac support for early initialization of PCS devices requires a
> generic PCS reference that can be passed to phylink_pcs_pre_init().
> Currently, the mac_device_info struct contains only one PCS field, which is
> specific to the Lynx model.
>
> As PCS models are hardware-specific, it is more appropriate to have a
> generic PCS field in the mac_device_info struct.
>
> Refactor the lynx_pcs field into a generic phylink_pcs field.
>
> Signed-off-by: Romain Gantois <romain.gantois@...tlin.com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists