summaryrefslogtreecommitdiff
path: root/sys/dev/sysmon/sysmon_envsys.c
AgeCommit message (Expand)Author
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
2010-02-14Remove the flags member of the limits structure. Its value was onlypgoyette
2010-02-05One more callback of sme_refresh() routine needs to check first thatpgoyette
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-30Validate limit-based monitoring in one place, so we can apply thepgoyette
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-06-13Add capability to send sensor limit values to the driver so they canpgoyette
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
2008-08-221. provide for warning-min and warning-max alarm levels in addition topgoyette
2008-06-03Add SME_POLL_ONLY flag, which informs sme to only refresh the sensor whenjmcneill
2008-04-02Initialize and destroy the callout in sme_events_init() andxtraeme
2008-04-01Introduce per-device locking/synchronization and maintain only axtraeme
2008-03-23Fix some problems reported by <drochner> a while ago on tech-kern:xtraeme
2008-02-02Destroy the callout via sysmon_envsys_destroy() now that it'sxtraeme
2008-01-02- Initialize the callout with CALLOUT_MPSAFE, like it was done beforextraeme
2008-01-02In sysmon_envsys_create(), initialize the callout structure. Stopsdyoung
2008-01-02Use LIST_FOREACH().dyoung
2008-01-02Use TAILQ_FOREACH().dyoung
2007-12-05MUTEX_SPIN -> MUTEX_DEFAULT.ad
2007-11-20Update a comment.xtraeme
2007-11-20After comments from Andrew Doran:xtraeme
2007-11-16Extend the envsys2 API (one more time, sorry) as defined in:xtraeme
2007-11-03- Rename ENVSYS_BATTERY_STATE units to ENVSYS_BATTERY_CAPACITY andxtraeme
2007-11-02do not embed acpi device names in the sensor namesplunky
2007-10-07New changes to support the new configuration file format forxtraeme
2007-09-24sme_add_sensor_dictionary: don't forget to release the dictionary whenxtraeme
2007-09-09Change the DPRINTFs in sysmon_envsys_destroy_plist() to DPRINTFOBJsxtraeme
2007-09-08sysmon_envsys_register: don't forget to clear SME_FLAG_BUSY whenxtraeme
2007-09-08Use DPRINTF for a debugging printf.xtraeme
2007-09-08Remove an unused variable.xtraeme
2007-09-08Fix another memleak that only happened when usingxtraeme
2007-09-08Don't forget to free sme_evdrv in non error case too. Noticed andxtraeme
2007-09-08Use only one single condvar(9) for devices and events, they are protectedxtraeme
2007-09-08Disable debug, committed accidentally in previous.xtraeme
2007-09-08sysmon_envsys_register: only call sme_event_unregister_all when anyxtraeme
2007-09-08- Use only one global mutex for all tasks with devices & events.xtraeme
2007-09-08Remove another COMPAT_40 block, found by rmind@.xtraeme
2007-09-08- Build unconditionally compatibility code, there's no point to have itxtraeme
2007-09-04- Remove ENVSYS_GSTRING and the genstr member from envsys_data_t.xtraeme
2007-09-02Add a new sensor type to sysmon_envsys(9): ENVSYS_GSTRING.xtraeme
2007-09-01- Fix a memleak in ENVSYS_SETDICTIONARY if there wasn't any errorxtraeme
2007-08-31- sme_unregister_all: there's no need to use a struct sysmon_envsys asxtraeme
2007-08-31Merge sme_event_add() into sme_event_register()... there's no needxtraeme
2007-08-31Add a few KASSERT(mutex_owned(&foo_lock)) as suggested by Andrew Doran.xtraeme
2007-08-30More misc changes for sysmon_envsys(9):xtraeme
2007-08-30Simplify sysmon_envsys_register() and fix an obvious error inxtraeme