[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b01fcf28-6cc7-46d5-a169-af8b7cb51916@lunn.ch>
Date: Fri, 14 Jul 2023 06:05:23 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Stefan Eichenberger <eichest@...il.com>
Cc: netdev@...r.kernel.org, hkallweit1@...il.com, linux@...linux.org.uk,
francesco.dolcini@...adex.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next v2 1/4] net: phy: add the link modes for
1000BASE-T1 Ethernet PHY
> Thanks for the suggestion. Unfortunately,
> genphy_c45_pma_read_abilities() directly reads from the PHY registers.
Please consider refactoring the bits of
genphy_c45_pma_read_abilities() you need into a helper. You can then
call the helper directly from your driver.
Andrew
Powered by blists - more mailing lists