[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2611695a-c93d-7176-666c-1350eecff5d6@ti.com>
Date: Thu, 10 Aug 2017 11:18:20 -0500
From: Grygorii Strashko <grygorii.strashko@...com>
To: Max Uvarov <muvarov@...il.com>, <netdev@...r.kernel.org>
CC: <linux-omap@...r.kernel.org>
Subject: Re: [PATCHv2 2/2] drivers: net: davinci_mdio: print bus frequency
On 08/10/2017 02:47 AM, Max Uvarov wrote:
> Frequency can be adjusted in DT it make sense to
> print current used value on driver init.
>
> Signed-off-by: Max Uvarov <muvarov@...il.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@...com>
> ---
> drivers/net/ethernet/ti/davinci_mdio.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c
> index 611e7cc..3c33f45 100644
> --- a/drivers/net/ethernet/ti/davinci_mdio.c
> +++ b/drivers/net/ethernet/ti/davinci_mdio.c
> @@ -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;
>
--
regards,
-grygorii
Powered by blists - more mailing lists