Date: Mon, 13 Oct 2008 20:20:41 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: stas@FreeBSD.org Cc: src-committers@FreeBSD.org, rpaulo@FreeBSD.org, svn-src-user@FreeBSD.org Subject: Re: svn commit: r183751 - user/rpaulo/eeemon Message-ID: <20081013.202041.1492581255.imp@bsdimp.com> In-Reply-To: <20081014032137.13da1212.stas@FreeBSD.org> References: <200810101753.m9AHrQJU097333@svn.freebsd.org> <20081014032137.13da1212.stas@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20081014032137.13da1212.stas@FreeBSD.org>
Stanislav Sedov <stas@FreeBSD.org> writes:
: On Fri, 10 Oct 2008 17:53:26 +0000 (UTC)
: Rui Paulo <rpaulo@FreeBSD.org> mentioned:
:
: > Author: rpaulo
: > Date: Fri Oct 10 17:53:26 2008
: > New Revision: 183751
: > URL: http://svn.freebsd.org/changeset/base/183751
: >
: > Log:
: > eeemon is a kernel module for Asus Eee notebooks that allows you to
: > control the fan speed, high/low voltage and it shows the cpu
: > temperature.
: >
: > Includes fan control code by "harrow@yandex.ru".
: > Imported from my peronal repo.
: >
:
: > +
: > +static void
: > +eeemon_identify(driver_t *driver, device_t parent)
: > +{
: > + device_t child;
: > +
: > + if (device_find_child(parent, "eeemon", -1) != NULL)
: > + return;
: > +
: > + if (eeemon_match() == 0)
: > + return;
: > +
: > + child = BUS_ADD_CHILD(parent, ISA_ORDER_SPECULATIVE, "eeemon", -1);
: > + if (child == NULL)
: > + device_printf(parent, "add eeemon child failed\n");
: > +
:
: Do we need to attach to a 'real' bus here?
In the kernel allows the kernel to control it. The isa bus is as good
or a bad place as any...
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081013.202041.1492581255.imp>
