NetBSD/sys/dev/sysmon/files.sysmon
xtraeme 5b53183e98 - Remove ENVSYS_GSTRING and the genstr member from envsys_data_t.
(at least three or four persons were against it).
- Add a new sensor type: ENVSYS_BATTERY_STATE, this uses value_cur
  and some predefined values in a static table, like ENVSYS_DRIVE.
- Move all static tables to sysmon_envsys_tables.c and use a function
  on it to retrieve a pointer to the struct of the specified type.
- Rename the ENVSYS_FMONDRVSTCHANGED to ENVSYS_FMONSTCHANGED and make
  it generic for Battery state and drive sensors (this flag enables
  monitoring on these sensors when state has been changed).
- Update sysmon_penvsys_event() to report state changes on
  ENVSYS_BATTERY_STATE sensors and remove other type of events, with
  PENVSYS_EVENT_STATE_CHANGED they are not necessary anymore.
2007-09-04 16:54:02 +00:00

24 lines
740 B
Plaintext

# $NetBSD: files.sysmon,v 1.10 2007/09/04 16:54:02 xtraeme Exp $
define sysmon_taskq
file dev/sysmon/sysmon_taskq.c sysmon_taskq needs-flag
define sysmon_power
file dev/sysmon/sysmon_power.c sysmon_power needs-flag
define sysmon_envsys: sysmon_power, sysmon_taskq
file dev/sysmon/sysmon_envsys.c sysmon_envsys needs-flag
file dev/sysmon/sysmon_envsys_events.c sysmon_envsys
file dev/sysmon/sysmon_envsys_tables.c sysmon_envsys
file dev/sysmon/sysmon_envsys_util.c sysmon_envsys
define sysmon_wdog
file dev/sysmon/sysmon_wdog.c sysmon_wdog needs-flag
file dev/sysmon/sysmon.c sysmon_envsys | sysmon_wdog |
sysmon_power
defpseudo swwdog: sysmon_wdog
file dev/sysmon/swwdog.c swwdog needs-count