summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon
AgeCommit message (Expand)Author
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
2009-06-01Since we no longer have individual events for each sensor value limit,pgoyette
2009-04-07Fix spelling: mak -> make.dyoung
2008-11-11Fix typo in previous, and wrap a panic with #ifdef DIAGNOSTICpgoyette
2008-11-11Initialize event's "previous sent state" based on the event monitor type,pgoyette
2008-11-04Fix cut&paste error in prevpgoyette
2008-11-04Restore previous behavior concerning CRITICAL events. Send an eventpgoyette
2008-09-07Only report new sensor state values if the new value is valid for thepgoyette
2008-09-05Rearrange code in the sysmon queue execution thread to simplify locking logic.gmcgarry
2008-09-05Rearrange sysmonread_power() to have a single exit point, which simplifiesgmcgarry
2008-09-04Initialize event's sent-state appropriately to avoid unnecessary start-uppgoyette
2008-08-221. provide for warning-min and warning-max alarm levels in addition topgoyette
2008-06-11in sme_battery_check(), explicitely check whether the battery isdrochner
2008-06-03Add SME_POLL_ONLY flag, which informs sme to only refresh the sensor whenjmcneill
2008-05-10Use aprint when reporting AC adapter status.jmcneill
2008-04-06Pass KTHREAD_MPSAFE to kthread_create(). I've been testing this forxtraeme