netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wolfram Sang <w.sang@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Bryan Wu <bryan.wu@canonical.com>,
	gerg@uclinux.org, amit.kucheria@canonical.com,
	kernel-team@lists.ubuntu.com, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] netdev/fec.c: add phylib supporting to enable carrier detection
Date: Wed, 31 Mar 2010 10:10:04 +0200	[thread overview]
Message-ID: <20100331081004.GB23391@pengutronix.de> (raw)
In-Reply-To: <20100331075746.GO2241@pengutronix.de>

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

> With rounding this would be:
> 
> (clk_get_rate() + 4999999) / 5000000

Better use DIV_ROUND_UP(clk_get_rate(), 5000000)?

Regards,

   Wolfram

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2010-03-31  8:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26  9:50 [PATCH] netdev/fec.c: add phylib supporting to enable carrier detection Bryan Wu
2010-03-26 10:29 ` Amit Kucheria
2010-03-31  8:12   ` Sascha Hauer
2010-03-26 14:47 ` Wolfram Sang
2010-03-27 12:57 ` Wolfram Sang
2010-03-29  8:40   ` Bryan Wu
2010-03-31  3:06     ` Wolfram Sang
2010-03-31  3:07       ` Bryan Wu
2010-03-31  2:49 ` Bryan Wu
2010-03-31  7:57 ` Sascha Hauer
2010-03-31  8:10   ` Wolfram Sang [this message]
2010-03-31  8:15     ` Sascha Hauer
2010-03-31 12:11     ` Bryan Wu
2010-04-21  5:42 ` Greg Ungerer

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=20100331081004.GB23391@pengutronix.de \
    --to=w.sang@pengutronix.de \
    --cc=amit.kucheria@canonical.com \
    --cc=bryan.wu@canonical.com \
    --cc=gerg@uclinux.org \
    --cc=kernel-team@lists.ubuntu.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=s.hauer@pengutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).