summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon
AgeCommit message (Expand)Author
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
2010-01-02Flags for existence of limit values need to be propagated to thepgoyette
2010-01-01Don't infer a sensor driver's ability to handle limit checking itself.pgoyette
2009-12-23Check for value exceeding crit-max limit before checking against warn-maxpgoyette
2009-11-06Fix POWER_IOC_GET_TYPE.jakllsch
2009-07-10Document usage of PROP_DRIVER_LIMITS flag and set it correctly.pgoyette
2009-07-10Remove some code (bracketed by #ifdef NOTYET / #endif) that should notpgoyette
2009-07-08Remove driver name from debug message. Not all drivers have set thispgoyette
2009-07-08Initialize lims.sel_flags before using it. Prevents spurious limitpgoyette
2009-07-08Clean up a couple of debug statements that got missed previously.pgoyette
2009-06-14Ooops - {get,set}_limits() need to be sensor-specific. Pass an extrapgoyette
2009-06-13Add capability to send sensor limit values to the driver so they canpgoyette
2009-06-08Correct typo in last so we can #undef the correct macro.pgoyette
2009-06-08General clean-up and some restructuring of event handling. This is apgoyette
2009-06-03Don't allocate the private list-threading structure unless we're goingpgoyette