提交 cc147a0d 编写于 作者: M Maxim Uvarov 提交者: 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: NMax Uvarov <muvarov@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2e1c8084
......@@ -159,8 +159,10 @@ static int davinci_mdio_reset(struct mii_bus *bus)
/* dump hardware version info */
ver = __raw_readl(&data->regs->version);
dev_info(data->dev, "davinci mdio revision %d.%d\n",
(ver >> 8) & 0xff, ver & 0xff);
dev_info(data->dev,
"davinci mdio revision %d.%d, bus freq %ld\n",
(ver >> 8) & 0xff, ver & 0xff,
data->pdata.bus_freq);
if (data->skip_scan)
goto done;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册