[lkml]   [2000]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Exporting calibrate_delay()
> The idea is to have a different value for loops_per_sec for all
> (read: 12) clock speeds. I want to calculate the values when the

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

> driver loads so I can just plug in a new value for loops_per_sec
> at a clock speed change. If I disable all interrupts while
> recalibrating it shouldn't hurt udelay, right?

That sounds right

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

Generally pretty slack.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.091 / U:4.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site