Re: [PATCH net-next] net: phy: Add helpers to determine if PHY driver is generic

From: David Miller
Date: Thu Jan 17 2019 - 14:33:31 EST

From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Tue, 15 Jan 2019 15:09:35 -0800

> We are already checking in phy_detach() that the PHY driver is of
> generic kind (1G or 10G) and we are going to make use of that in the SFP
> layer as well for 1000BaseT SFP modules, so expose helper functions to
> return that information.
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>