Re: Exporting calibrate_delay()

From: Erik Mouw (J.A.K.Mouw@its.tudelft.nl)
Date: Thu Aug 24 2000 - 18:20:26 EST


Alan Cox wrote:
> So you could compute all twelve in the driver init functions before the
> kernel loads the root fs, then the initfunc is still there

In principle, yes. However, there are a couple of versions of the
SA1100, and not all of them support all clock speeds. And you can
also safely overclock the CPU (from 221 to 236 or 250 MHz), although
that's undefined behaviour according to the data sheets. That's why
the driver currently is a module: easy configuration at insmod time.

> > How correct is that? More specifically: how sensitive are the other
> > drivers for slightly incorrect values of loops_per_sec?
>
> Generally pretty slack.

OK, then doing the maths sounds sane enough.

Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:14 EST