A mobile user's wishlist

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sat Jun 17 19:05:55 PDT 2006


On Fri, Jun 16, 2006 at 06:23:45PM +0000, Johannes Hofmann wrote:
> YONETANI Tomokazu <qhwt+dfly at xxxxxxxxxx> wrote:
> > On Wed, Jun 07, 2006 at 11:10:59AM +0900, YONETANI Tomokazu wrote:
> >> > FreeBSD has tools for that: sysutils/est and sysutils/estrcl
> >> 
> >> FreeBSD has a daemon named powerd and it's based on estctrl.
> >> I'll try porting it to DragonFly.
> > 
> > Obviously I spoke too soon for this part; powerd is too hard to port
> > without cpufreq framework.  I'm going to commit est driver alone for now
> > and work on a DragonFly patch for estd(if Johannes Hofmann hasn't started
> > it yet).
> 
> Ok, here is an initial patch against estd-r4.1 that makes things 
> work on DragonFly. The question is how to integrate the modifications.
> We could add #ifdef's or add the patch to the pkgsrc stuff...
> Also I would suggest to adjust our est-sysctl names to match the
> NetBSD ones's.
> And what about that useconds_t? I just changed it to int. Any better
> ideas?

Here's a modified version of your port of est driver,
with sysctl nodes under machdep.est.frequency as you suggested,
plus style(9) changes and some minor changes taken from NetBSD version.

  http://les.ath.cx/DragonFly/est-cc1.diff.gz

Regards.





More information about the Submit mailing list