svn commit: r183751 - user/rpaulo/eeemon
M. Warner Losh
imp at bsdimp.com
Tue Oct 14 02:22:26 UTC 2008
In message: <20081014032137.13da1212.stas at FreeBSD.org>
Stanislav Sedov <stas at FreeBSD.org> writes:
: On Fri, 10 Oct 2008 17:53:26 +0000 (UTC)
: Rui Paulo <rpaulo at 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 at 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
More information about the svn-src-user
mailing list