Re: [PATCH net-next 5/6] net: phy: Decide on C45 capabilities based on presence of method

From: Jesse Brandeburg
Date: Tue Jan 17 2023 - 20:14:40 EST


On 1/16/2023 4:55 AM, Michael Walle wrote:
From: Andrew Lunn <andrew@xxxxxxx>

Some PHYs provide invalid IDs in C22 space. If C45 is supported on the
bus an attempt can be made to get the IDs from the C45 space. Decide
on this based on the presence of the C45 read method in the bus
structure. This will allow the unreliable probe_capabilities to be
removed.

Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
Signed-off-by: Michael Walle <michael@xxxxxxxx>

Reviewed-by: Jesse Brandeburg <jesse.brandeburg@xxxxxxxxx>