summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon
AgeCommit message (Expand)Author
2010-12-17use aprintpooka
2010-12-16Be sure to always initialize props variable to a sensible value.njoly
2010-12-16Also allow specification of sensor's initial value when it is loaded,pgoyette
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-11Enhance the swsensor(4) pseudo-device's capabilities to emulate morepgoyette
2010-12-08When removing properties (as in envstat -S), clear the flags that trackpgoyette
2010-12-06Make this compile when "options ENVSYS_OBJECTS_DEBUG" is defined.pgoyette
2010-11-11Apparently swwdog reboot hasn't worked in several years since itpooka
2010-10-23Revert 1.2 apart from incorrect comment. the devattach() routinepooka
2010-10-20Set sensor state to valid upon refresh to make things generally work.pooka
2010-10-20remove unused routine (per comment)pooka
2010-10-19Add a new software-only sensor device. This is intended for use as apgoyette
2010-09-221. Don't try to call the driver's get_limits routine if it doesn't havepgoyette
2010-08-06* fix logic inversion in swwdog_reboot (and the sysctl).pooka
2010-07-22Convert swwdog(4) from a simple defpseudo device to a defpseudodev sopgoyette
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-24Fix ENVSYS_DEBUG build.njoly
2010-03-24In sysmon_envsys_sensor_event(), permit delivery of all events for thepgoyette
2010-03-24Do the initial refresh before creating the event monitors, in case thepgoyette
2010-03-23Additional info in DPRINTF to help debugging effortspgoyette
2010-03-19Modify previous commit. The routine to deliver events is intended to bepgoyette
2010-03-19Separate event delivery from polling and limit evaluation inpgoyette
2010-03-14Retire the 'monitor' member of the envsys_data_t. It was only used inpgoyette
2010-03-11Fix comment typos (mangement, managmenet).jruoho
2010-02-28Move definitions of internal data structures and flag bits to avoidpgoyette
2010-02-18If we're going to valdate things, at least do it correctly.pgoyette
2010-02-15For symmetry, allow warning and critical upper-limits for capacitypgoyette
2010-02-14Replace large amount of replicated code with a macro to improve readability.pgoyette
2010-02-14Remove the flags member of the limits structure. Its value was onlypgoyette
2010-02-14Correct one more instance of checking flags in the wrong place.pgoyette
2010-02-13When checking current sensor value vs limits, check the correct set ofpgoyette
2010-02-05Fix a typo in one DPRINTF (s/edata->des/edata->desc/).jruoho
2010-02-05One more callback of sme_refresh() routine needs to check first thatpgoyette
2010-02-04If the AC adapter is flagged with SME_DISABLE_REFRESH, don't try to callpgoyette
2010-01-31Fix an outdated comment, noticed by Paul Goyette.martin
2010-01-31Add a convenience function to find the maximum value currently reportedmartin
2010-01-31print newline after timer expiry messagepooka
2010-01-30Make swwdog use no-needs-count. As the manpage says, there can be only one.pooka
2010-01-30Validate limit-based monitoring in one place, so we can apply thepgoyette
2010-01-26Move the limits out of the event structure and into the main sensor.pgoyette
2010-01-18If no limits are exceeded, make sure we set state to SVALIDpgoyette