Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   xtraeme
Date:           Tue Sep  4 16:54:02 UTC 2007

Modified Files:
        src/sys/dev/sysmon: files.sysmon sysmon_envsys.c sysmon_envsys_events.c
            sysmon_envsysvar.h sysmon_power.c
        src/sys/sys: envsys.h power.h
Added Files:
        src/sys/dev/sysmon: sysmon_envsys_tables.c

Log Message:
- 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.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/sysmon/files.sysmon
cvs rdiff -r1.54 -r1.55 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/sysmon/sysmon_envsys_events.c
cvs rdiff -r0 -r1.1 src/sys/dev/sysmon/sysmon_envsys_tables.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/sysmon/sysmon_envsysvar.h
cvs rdiff -r1.23 -r1.24 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -r1.15 -r1.16 src/sys/sys/envsys.h
cvs rdiff -r1.7 -r1.8 src/sys/sys/power.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index