Re: [PATCH] netdev/fec.c: add phylib supporting to enable carrierdetection

From: Wolfram Sang
Date: Wed Mar 31 2010 - 04:10:18 EST


> 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: signature.asc
Description: Digital signature