Module Name: src Committed By: pgoyette Date: Sun Jun 19 15:52:48 UTC 2011
Modified Files: src/sys/dev/sysmon: swsensor.c Log Message: Use {...} to prevent premature exit from initialization function - this lets the atf tests run again. Move validation of current value vs min/max into the refresh routine where it will get checked every time, not just at initialization. While here, do a little more housekeeping: - Retrieve numeric property value once - Ensure that a numeric-specified sensor type is valid - printout any unrecognized properties (DEBUG only) To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/dev/sysmon/swsensor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.