The NetBSD Project

CVS log for src/sys/dev/sysmon/sysmon_envsys_tables.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / sysmon

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Mon Nov 21 21:24:01 2022 UTC (15 months ago) by brad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)



A driver for the Bosch BMP280 / BME280 temperature, humidity and
atmospheric pressure sensor.  This is an inexpensive to moderately
expensive chip available from a large number of places.  The driver
supports all aspects of the two chips, except for the repeating read
mode which would allow for sub-second queries, such as fall detection
or perhaps even as an altimeter.  This driver also only supports the
I2C interface and not the SPI interface.

The BME280, the one with humidity, is not fully tested at this point,
awaiting upon a breakout board and may not show proper humidity.

Revision 1.12.26.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:26:02 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Sun May 27 01:39:00 2018 UTC (5 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Add support for light sensors that report Illuminance in lux.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:50 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.11.12.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:58 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Rebase.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:47 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 18 11:46:23 2014 UTC (9 years, 9 months ago) by kardel
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

add HYT-221/271/939 humidity/temperature I2C sensor
extend envsys(4) framework by %rH (relative humidity)

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:03 2012 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.10.8.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:21:43 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #545):
	etc/powerd/scripts/sensor_indicator: revision 1.5
	sys/dev/sysmon/sysmon_envsys_tables.c: revision 1.11
	sys/sys/envsys.h: revision 1.32
	sys/dev/sysmon/sysmon_envsysvar.h: revision 1.43
	sys/dev/sysmon/sysmon_envsys_events.c: revision 1.104
Provide names for the values associated with INDICATOR sensors.
1. Enable use of FMONSTCHANGED events for INDICATOR sensors
2. Update handling of FMONCRITICAL event reporting.   The state
    transition does not require a corresponding change in value.
With these changes, you can now have an INDICATOR sensor that
reports the presence or absence of a device, and (if the device
is present) separately monitor it for proper functioning.
Should address the concerns expressed recently with the commit
of changes to wmi(4) BBU handling.
Handle any reports of state changes for INDICATORs

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 27 21:42:04 2012 UTC (11 years, 6 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy, rmind-smpnet
Changes since 1.10: +14 -2 lines
Diff to previous 1.10 (colored)

1. Enable use of FMONSTCHANGED events for INDICATOR sensors
2. Update handling of FMONCRITICAL event reporting.   The state
   transition does not require a corresponding change in value.

With these changes, you can now have an INDICATOR sensor that
reports the presence or absence of a device, and (if the device
is present) separately monitor it for proper functioning.

Should address the concerns expressed recently with the commit
of changes to wmi(4) BBU handling.

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:09 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.6: +36 -17 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jun 19 05:26:31 2011 UTC (12 years, 8 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

Pass table_id to sme_find_table().

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 19 05:17:38 2011 UTC (12 years, 8 months ago) by nonaka
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

fix typo.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 19 04:23:18 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.7: +31 -38 lines
Diff to previous 1.7 (colored)

simplify and don't deref NULL.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jun 19 03:09:43 2011 UTC (12 years, 8 months ago) by pgoyette
Branch: MAIN
Changes since 1.6: +28 -2 lines
Diff to previous 1.6 (colored)

Add routine to lookup description tables by description instead of by
type.

Revision 1.5.26.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:08 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.5: +25 -20 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.6 / (download) - annotate - [select for diffs], Wed Dec 15 17:17:17 2010 UTC (13 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.5: +25 -20 lines
Diff to previous 1.5 (colored)

Extract searching of description tables into a single function, rather
than duplicating the code every time.  Minor reduction in code size
(about 1200 bytes on amd64), no change in functionality.

Revision 1.4.12.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:57 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:09 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.3.4.4 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:52 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.3.4.3: +5 -2 lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with HEAD

Revision 1.2.6.5 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:27 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.4: +5 -2 lines
Diff to previous 1.2.6.4 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 28 16:21:34 2008 UTC (16 years ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

Add three new values for ENVSYS_DRIVE units:

* ENVSYS_DRIVE_OFFLINE, ENVSYS_DRIVE_CHECK and ENVSYS_DRIVE_BUILD

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:34 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.3.4.2: +14 -12 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)

sync with HEAD

Revision 1.1.6.5 / (download) - annotate - [select for diffs], Sun Dec 9 19:37:59 2007 UTC (16 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.1.6.4: +14 -12 lines
Diff to previous 1.1.6.4 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:59 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.3: +14 -12 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:57:31 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.3: +14 -12 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with head.

Revision 1.2.6.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:25 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.3: +14 -12 lines
Diff to previous 1.2.6.3 (colored) to branchpoint 1.2 (colored)

sync with head

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 7 11:47:50 2007 UTC (16 years, 2 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, reinoud-bufcleanup-nbase, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.3: +14 -12 lines
Diff to previous 1.3 (colored)

Add ENVSYS_DRIVE_MIGRATING for ENVSYS_DRIVE sensors, this is for RAID
volumes that are migrating such as when you change the stripe size.

While I'm here use the same string than we had in the old framework to
report status "online" vs "drive is online", because the sensor might be
a RAID volume and not just a drive.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:32 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.2: +12 -12 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:39 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.2: +12 -12 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Tue Nov 6 23:30:20 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.3.4.1: +121 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

sync with HEAD

Revision 1.1.6.4 / (download) - annotate - [select for diffs], Sun Nov 4 21:03:30 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.1.6.3: +12 -12 lines
Diff to previous 1.1.6.3 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.3.4.1, Sat Nov 3 23:05:21 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.3: +0 -121 lines
FILE REMOVED

file sysmon_envsys_tables.c was added on branch matt-armv6 on 2007-11-06 23:30:20 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 3 23:05:21 2007 UTC (16 years, 3 months ago) by xtraeme
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, mjf-devfs, matt-armv6
Changes since 1.2: +12 -12 lines
Diff to previous 1.2 (colored)

- Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY and
  introduce ENVSYS_BATTERY_CHARGE, which is the same than an Indicator and
  it's used to know if the battery is currently charging or discharging.

- Require two sensors at least for SME_CLASS_BATTERY to make the low-power
  condition work: a ENVSYS_BATTERY_CAPACITY plus ENVSYS_BATTERY_CHARGE.

- Simplify sme_event_check_lowpower() and make it check the required
  sensors in the SME_CLASS_ACADAPTER and SME_CLASS_BATTERY classes.
  If the acadapter is not ready, trust the state returned by the battery
  device.

Based on suggestion from joerg@.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:34:21 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2.6.1: +121 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

sync with head.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:19 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.1: +13 -24 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:42:06 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.2.2.1: +121 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.1.6.3 / (download) - annotate - [select for diffs], Sun Oct 7 13:25:06 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.6.2: +13 -24 lines
Diff to previous 1.1.6.2 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.2.6.1, Sun Oct 7 04:11:15 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.2: +0 -121 lines
FILE REMOVED

file sysmon_envsys_tables.c was added on branch yamt-lazymbuf on 2007-10-27 11:34:21 +0000

Revision 1.2.2.1, Sun Oct 7 04:11:15 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.2: +0 -121 lines
FILE REMOVED

file sysmon_envsys_tables.c was added on branch vmlocking on 2007-10-09 13:42:06 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 7 04:11:15 2007 UTC (16 years, 4 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base
Branch point for: yamt-lazymbuf, vmlocking, bouyer-xenamd64
Changes since 1.1: +13 -24 lines
Diff to previous 1.1 (colored)

New changes to support the new configuration file format for
envstat(8) and the envsys framework:

- Modify the ENVSYS_SETDICTIONARY ioctl to support the following
  plist structure:

  <dict>
	<key>foo0</key>
	<array>
		<dict>
			<key>index</key>
			<string>sensor0</string>
			<key>description</key>
			<string>cpu temp</string>
			...
			Another property for this sensor
			...
		</dict>
		...
		Another dictionary for other sensor
		...
	</array>
	...
	Another device as above
	...
  </dict>

  Multiple devices with multiple sensors can now be specified, that means
  that to set the properties only one copyin(9) is needed now.

- Added the ENVSYS_REMOVEPROPS ioctl, that accepts a boolean object
  "envsys-remove-props" and when set to true, all properties that were
  set previously by ENVSYS_SETDICTIONARY will be removed. That means that
  you can now set multiple critical limits, descriptions and all they
  will be removed or changed to its default value (for rfact and
  description objects).

- Added the 'index' and 'allow-rfact' objects into the sensor dictionaries,
  for better interactivity with userland. To know the position of the
  sensor and to know if sensor allows to change the rfact.

- Misc cosmetic changes for consistency.

- Use a two clause license for all my code.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:41 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1.6.1: +132 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Mon Sep 10 10:55:23 2007 UTC (16 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.1.2.1: +132 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.1.6.1, Tue Sep 4 16:54:02 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.1: +0 -132 lines
FILE REMOVED

file sysmon_envsys_tables.c was added on branch jmcneill-pm on 2007-10-02 18:28:41 +0000

Revision 1.1.2.1, Tue Sep 4 16:54:02 2007 UTC (16 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.1: +0 -132 lines
FILE REMOVED

file sysmon_envsys_tables.c was added on branch nick-csl-alignment on 2007-09-10 10:55:23 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 4 16:54:02 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap, nick-csl-alignment, jmcneill-pm

- 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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>