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

Re: A mobile user's wishlist


From: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Date: 21 Jun 2006 18:23:20 GMT

YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx> wrote:
> On Fri, Jun 16, 2006 at 06:23:45PM +0000, Johannes Hofmann wrote:
>> YONETANI Tomokazu <qhwt+dfly@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

The patch works fine for me. Do you plan to commit it?
I want to wait for the kernel part to be commited before trying 
to get DragonFly support for estd integrated in pkgsrc.
BTW. Is it possible to compile est support as a kernel module
with your patch?

Regards,
  Johannes



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