Re: [PATCH net-next 3/3] net: bcmgenet: Add support for 7712 16nm internal EPHY

From: Florian Fainelli
Date: Fri Oct 22 2021 - 15:38:51 EST


Hello Andrew,

On 10/22/21 12:36 PM, Andrew Lunn wrote:
> On Fri, Oct 22, 2021 at 09:17:03AM -0700, Florian Fainelli wrote:
>> The 16nm internal EPHY that is present in 7712 is actually a 16nm
>> Gigabit PHY which has been forced to operate in 10/100 mode.
>
> Hi Florian
>
> Will genphy_read_abilities() detect it as a 1G PHY? Does bcmgenet.c
> need to call phy_set_max_speed() to stop it advertising 1G?

That is not necessary, the capabilities have been adjusted accordingly,
the PHY only advertises 10/100 and not above.
--
Florian