[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YggQVTZJhmEh0YQk@lunn.ch>
Date: Sat, 12 Feb 2022 20:53:57 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Raju Lakkaraju <Raju.Lakkaraju@...rochip.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net-next V1 5/5] net: lan743x: Add support for Clause-45
MDIO PHY management
> +static int lan743x_mdiobus_c45_read(struct mii_bus *bus, int phy_id, int index)
> +{
> + if (index & MII_ADDR_C45) {
...
> + return (int)(ret & 0xFFFF);
> + }
> +
> + ret = lan743x_mdiobus_read(bus, phy_id, index);
> + return ret;
This function appear to either do a c45 or a c22 access. So the
function name is not very accurate.
Andrew
Powered by blists - more mailing lists