From: Sascha Hauer on 31 Mar 2010 04:20 On Fri, Mar 26, 2010 at 12:29:57PM +0200, Amit Kucheria wrote: > On 10 Mar 26, Bryan Wu wrote: > > BugLink: http://bugs.launchpad.net/bugs/457878 > > > > - removed old MII phy control code > > - add phylib supporting > > - add ethtool interface to make user space NetworkManager works > > > > Tested on Freescale i.MX51 Babbage board. > > > > This patch is based on a patch from Frederic Rodo <fred.rodo(a)gmail.com> > > > > Cc: Frederic Rodo <fred.rodo(a)gmail.com> > > Signed-off-by: Bryan Wu <bryan.wu(a)canonical.com> > > While I ack this patch, I wonder if we should add to the various board > Kconfig options, a dependency select'ing the right phylib for that board. > > This would prevent breakage of ethernet on those boards because they forgot > to select the right phylib after this change. I wouldn't go that far. I never saw a board which doesn't work with the generic phy implementation, so I would only select the specific phy if I knew that the generic phy does not work. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Sascha Hauer on 31 Mar 2010 04:20 On Wed, Mar 31, 2010 at 10:10:04AM +0200, Wolfram Sang wrote: > > With rounding this would be: > > > > (clk_get_rate() + 4999999) / 5000000 > > Better use DIV_ROUND_UP(clk_get_rate(), 5000000)? Yes. Sometimes I wish the useful assorted kernel helper of the day in my fortune :) Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
First
|
Prev
|
Pages: 1 2 Prev: perf, x86: Add Nehelem PMU programming errata workaround Next: [GIT PULL] core kernel fixes |