Commit cc147a0d authored by Maxim Uvarov's avatar Maxim Uvarov Committed by David S. Miller

drivers: net: davinci_mdio: print bus frequency

Frequency can be adjusted in DT it make sense to
print current used value on driver init.
Signed-off-by: default avatarMax Uvarov <muvarov@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2e1c8084
...@@ -159,8 +159,10 @@ static int davinci_mdio_reset(struct mii_bus *bus) ...@@ -159,8 +159,10 @@ static int davinci_mdio_reset(struct mii_bus *bus)
/* dump hardware version info */ /* dump hardware version info */
ver = __raw_readl(&data->regs->version); ver = __raw_readl(&data->regs->version);
dev_info(data->dev, "davinci mdio revision %d.%d\n", dev_info(data->dev,
(ver >> 8) & 0xff, ver & 0xff); "davinci mdio revision %d.%d, bus freq %ld\n",
(ver >> 8) & 0xff, ver & 0xff,
data->pdata.bus_freq);
if (data->skip_scan) if (data->skip_scan)
goto done; goto done;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment