public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Grygorii Strashko <grygorii.strashko@ti.com>
To: Max Uvarov <muvarov@gmail.com>, netdev@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCHv2 2/2] drivers: net: davinci_mdio: print bus frequency
Date: Thu, 10 Aug 2017 11:18:20 -0500	[thread overview]
Message-ID: <2611695a-c93d-7176-666c-1350eecff5d6@ti.com> (raw)
In-Reply-To: <1502351267-23841-2-git-send-email-muvarov@gmail.com>



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@gmail.com>

  Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.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

  reply	other threads:[~2017-08-10 16:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-10  7:47 [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on wait user access Max Uvarov
2017-08-10  7:47 ` [PATCHv2 2/2] drivers: net: davinci_mdio: print bus frequency Max Uvarov
2017-08-10 16:18   ` Grygorii Strashko [this message]
2017-08-11 21:24   ` David Miller
2017-08-10 14:40 ` [PATCHv2 1/2] drivers: net: davinci_mdio: remove busy loop on wait user access Andrew Lunn
2017-08-10 16:24 ` Grygorii Strashko
2017-08-11 21:24 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2611695a-c93d-7176-666c-1350eecff5d6@ti.com \
    --to=grygorii.strashko@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=muvarov@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox