Re: [PATCHv4 2/4] usbnet: add method for reporting speed without MII

From: Andrew Lunn
Date: Wed Mar 31 2021 - 18:42:34 EST


On Mon, Mar 29, 2021 at 07:16:49PM -0700, Grant Grundler wrote:
> From: Oliver Neukum <oneukum@xxxxxxxx>
>
> The old method for reporting link speed assumed a driver uses the
> generic phy (mii) MDIO read/write functions. CDC devices don't
> expose the phy.
>
> Add a primitive internal version reporting back directly what
> the CDC notification/status operations recorded.
>
> v2: rebased on upstream
> v3: changed names and made clear which units are used
> v4: moved hunks to correct patch; rewrote commmit messages
>
> Signed-off-by: Oliver Neukum <oneukum@xxxxxxxx>
> Tested-by: Roland Dreier <roland@xxxxxxxxxx>
> Reviewed-by: Grant Grundler <grundler@xxxxxxxxxxxx>
> Tested-by: Grant Grundler <grundler@xxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew