#
13d4bb4c |
| 25-Sep-2022 |
thorpej <thorpej@NetBSD.org> |
Remove unnecessary include of <sys/malloc.h>.
|
#
e77dc7be |
| 24-Jun-2020 |
jdolecek <jdolecek@NetBSD.org> |
rearrange to avoid allocating softc on stack in ug_isa_match()
|
#
a2aecb60 |
| 03-Jun-2018 |
maxv <maxv@NetBSD.org> |
Constify ug2_mb[], so that it lands in .rodata.
|
#
e13c3a5c |
| 20-Jun-2011 |
pgoyette <pgoyette@NetBSD.org> |
Initialize sensor states before registering
|
#
8bea7f6b |
| 26-Mar-2008 |
xtraeme <xtraeme@NetBSD.org> |
Split device_t/softc for ug(4) and other related cosmetic changes.
|
#
c61259ee |
| 17-Nov-2007 |
kefren <kefren@NetBSD.org> |
initialize via sysmon_envsys_create() make sensors valid
|
#
31962fc6 |
| 16-Nov-2007 |
xtraeme <xtraeme@NetBSD.org> |
Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html
sysmon_envsys_create() and sysmon_envsys_destroy() were added to create/dest
Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html
sysmon_envsys_create() and sysmon_envsys_destroy() were added to create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).
sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were added to attach/detach sensors to a specified sysmon_envsys device.
The events framework is now per device and configurable via the ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).
Update all users and documentation to reflect these changes.
show more ...
|
#
a2a38285 |
| 19-Oct-2007 |
ad <ad@NetBSD.org> |
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
#
50094295 |
| 03-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
ug_gtredata: add another break in the default case. Just for consistency with other code.
|
#
93edd2a3 |
| 03-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
ug2_gtredata: add missing break in default case.
|
#
a5d1788b |
| 01-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
ug*_gtredata: use the edata pointer rather than using the edata array index.
|
#
4a7e371e |
| 01-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
There's no need to use another envsys_data_t pointer that points to the sensor specified in the softc, use edata passed in by the gtredata function. Also remove a line of code that is not needed anym
There's no need to use another envsys_data_t pointer that points to the sensor specified in the softc, use edata passed in by the gtredata function. Also remove a line of code that is not needed anymore with envsys2.
show more ...
|
#
bb8e6713 |
| 01-Jul-2007 |
xtraeme <xtraeme@NetBSD.org> |
Imported envsys 2, a brief description of the new features: (Part 2: drivers)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critica
Imported envsys 2, a brief description of the new features: (Part 2: drivers)
* Support for detachable sensors. * Cleaned up the API for simplicity and efficiency. * Ability to send capacity/critical/warning events to powerd(8). * Adapted all the code to the new locking order. * Compatibility with the old envsys API: the ENVSYS_GTREINFO and ENVSYS_GTREDATA ioctl(2)s are supported. * Added support for a 'dictionary based communication channel' between sysmon_power(9) and powerd(8), that means there is no 32 bytes event size restriction anymore. * Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40. * All drivers with the n^2 gtredata bug were fixed, PR kern/36226.
Tested by:
blymn: smsc(4). bouyer: ipmi(4), mfi(4). kefren: ug(4). njoly: viaenv(4), adt7463.c. riz: owtemp(4). xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
show more ...
|
#
59000b71 |
| 08-May-2007 |
xtraeme <xtraeme@NetBSD.org> |
Missing __KERNEL_RCSID().
|
#
ff1c4148 |
| 08-May-2007 |
xtraeme <xtraeme@NetBSD.org> |
Split the ug(4) driver in three components:
* dev/ic/ug.c (main code shared by the attachments) * dev/isa/ug_isa.c (isa attachment) * dev/acpi/ug_acpi.c (acpi attachment)
That means that ug(4) c
Split the ug(4) driver in three components:
* dev/ic/ug.c (main code shared by the attachments) * dev/isa/ug_isa.c (isa attachment) * dev/acpi/ug_acpi.c (acpi attachment)
That means that ug(4) can now be attached via ACPI.
Thanks to Mihai Chelaru for the good work.
show more ...
|