summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon/sysmon_envsys.c
AgeCommit message (Expand)Author
2020-06-07Pull up following revision(s) (requested by riastradh in ticket #946):martin
2019-03-26in sysmon_envsys_unregister(): loop over sme_sensors_list with TAILQ_FIRSTbad
2018-05-26Avoid dereferencing NULL if we attempt to look up an known unit type.thorpej
2018-05-05Defend against some table-lookup-not-found errors.pgoyette
2017-09-11Improve tracking of the state of an event's callout, and protect allpgoyette
2017-09-06 Fixes a problem that some driver(e.g. acpitz(4) or coretemp(5)) whichmsaitoh
2015-12-14sysmon's components need to be MODULE_CLASS_DRIVER so they will getpgoyette
2015-12-13Note the sensor number in the error output. Useful for drivers addingjdc
2015-04-25Handle early initialization requirements - thanks martin@ and otherspgoyette
2015-04-25make things boot again, from martin.christos
2015-04-25Use tabs for indentation.pgoyette
2015-04-25Release the mutex in the error path.pgoyette
2015-04-24The sysmon_envsys module also depends on sysmon_power (for delivery ofpgoyette
2015-04-24Remove a left-over debugging printf()pgoyette
2015-04-23Modularize sysmon and its componentspgoyette
2015-04-13Convert sys/dev to use <sys/rndsource.h>.riastradh
2015-03-14Add a counter of busy events and stop enqueueing more work if a device is busy.hannken
2014-11-23Pull workqueue_destroy out of sme->sme_mtxozaki-r
2014-08-10Merge tls-earlyentropy branch into HEAD.tls
2012-11-29Remove trailing white space(s) from name of random source.msaitoh
2012-09-06Remove (commented-out) definitions for debugging - thanks to macallan@pgoyette
2012-08-27Fix indentation. No code change.pgoyette
2012-08-27Simplify some logic - no functional change intended.pgoyette
2012-07-19Make sure to re-add the sensor as an entropy source after user requestpgoyette
2012-07-16Extend previous changes so that even sensors which don't use a refresh()pgoyette
2012-07-15If a sensor is flagged as capable of providing rnd(4) with entropy,pgoyette
2012-07-15When unregistering a sensor device, make sure we unregister and deletepgoyette
2012-02-18Don't export sysmon_envsys_list as a common.matt
2011-08-01According to the Oxford Dictionary of Etymology, a wether is a male sheepmbalmer
2011-06-19Instead of crashing, print a usable error message when a driver eroneouslymartin
2011-06-15Previous fix broke the setting of current value for Indicator andpgoyette
2011-06-08Factor out some duplicated code to simplify maintenance. Reducespgoyette
2011-06-04Since nothing actually records or maintains an average sensor value,pgoyette
2010-12-30When the user updates the sensor device's refresh timer, reset thepgoyette
2010-12-16Be sure to always initialize props variable to a sensible value.njoly
2010-12-15Extract searching of description tables into a single function, ratherpgoyette
2010-12-11Handle removal of limit properties correctly, even for sensors thatpgoyette
2010-12-08When removing properties (as in envstat -S), clear the flags that trackpgoyette
2010-04-11Use a typedef to define the prototype of the per-sensor callback.pgoyette
2010-04-10When removing sensor properties with envstat -S, ensure that driverspgoyette
2010-04-03When unregistering a device, in addition to reducing the global countpgoyette
2010-04-01Permit creation of an event-monitor for alarm limits even if the limitspgoyette
2010-03-27Constify the args to sysmon_envsys_foreach_sensor()'s callback function.pgoyette
2010-03-27Fix the locking protocol in sysmon_envsys_foreach_sensor(), and add anpgoyette
2010-03-26Make this work the way the preceeding comment blocks says it works, andpgoyette
2010-03-26Add a routine to iterate over all the sensors on the system. This willpgoyette
2010-03-26Export the sensor device's class.pgoyette
2010-03-24Do the initial refresh before creating the event monitors, in case thepgoyette
2010-03-14Retire the 'monitor' member of the envsys_data_t. It was only used inpgoyette
2010-02-15For symmetry, allow warning and critical upper-limits for capacitypgoyette