est module

Thomas Schlesinger schlesinger at netcologne.de
Thu Jun 22 12:32:40 PDT 2006


Am Donnerstag, 22. Juni 2006 20:28 schrieb Johannes Hofmann:
> Johannes Hofmann <Johannes.Hofmann at xxxxxx> wrote:

<snip>
> >
> > Hi, with this patch I only see the syctl for available freqs:
> >
> > hofmann at blob:~ >sysctl machdep.est
> > machdep.est.frequency.available: 1800 1600 1400 1200 1000 800 600
> > hofmann at blob:~ >
> >
> > No idea why though...
>
> Ok, the SYSCTL_IN and SYSCTL_OUT suff was missing... Here is a
> slightly modified version that works for me:
>
> http://www.ecademix.com/JohannesHofmann/netbsd-est.c
>
> Regards,
>   Johannes
>
> >  Johannes

I've discovered the sysctl-switch dev.cpu.0.freq_levels on FreeBSD . I gives 
me this values for my notebook: 1731/1514/1298/1081/865/649/432/216. That are 
other values than in the est.c file. So I've changed the 1.73GHz-array to 
this:

/* Intel Pentium M processor 740 1.73 GHz, other frequencies */
static const struct fq_info pentium_m_n740[] = {
       { 1731, 1514 },
       { 1298, 1081 },
       {  865,  649 },
       {  432,  216 },
};

But I get still the same error message.

Thomas





More information about the Users mailing list