DragonFly BSD
DragonFly users List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: est module


From: Thomas Schlesinger <schlesinger@xxxxxxxxxxxxx>
Date: Thu, 22 Jun 2006 21:25:30 +0200

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

<snip>
> >
> > Hi, with this patch I only see the syctl for available freqs:
> >
> > hofmann@blob:~ >sysctl machdep.est
> > machdep.est.frequency.available: 1800 1600 1400 1200 1000 800 600
> > hofmann@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]