summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sensors.c
AgeCommit message (Expand)Author
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-11-14prefer sizeof(*ptr) to sizeof(struct) for malloc and freeTed Unangst
2014-11-08some systems install sensors where numbering introduces a gap whichJasper Lievisse Adriaanse
2014-11-04panic when a sensordev gets installed twice, instead of blowing up amazinglyJasper Lievisse Adriaanse
2014-11-01add a few sizes to freeTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2013-12-09use a separate task queue for sensors;Mike Belopuhov
2013-11-04move kernel sensor tasks from using workqs to tasks. while hereDavid Gwynne
2013-03-28sys/param.h gets you sys/types.h automaticallyTheo de Raadt
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
2009-08-03timeout_add -> timeout_add_msecBret Lambert
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2007-07-03fix a memory leak that was introduced in r1.20 on 2007-06-24T05Z; ok dlgConstantine A. Murenin
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
2007-06-04perhaps it made art's head hurt because it is wrong. triggers NULLTheo de Raadt
2007-06-01rework the sensor task handling to run in the kernels generic workq.David Gwynne
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
2006-12-23kernel code implimemting the new two-level sensor api; written byTheo de Raadt
2006-11-06force a new sensor task to be run as soon as possible. previously it usedDavid Gwynne
2006-05-28Remove device id from hotplug events.Michael Knudsen
2006-05-28intrducing device type DV_SENSOR turned out to be a bad idea as itHenning Brauer
2006-05-28need <sys/device.h> or it doesn't compile on sparc64Jason Wright
2006-05-28Include device id in hotplug events. This will be used by ntpd to checkMichael Knudsen
2006-05-28unbreak, of course this needs to included sys/hotplug.h tooHenning Brauer
2006-05-27Make sensor add/remove create hotplug events (after much prodding from hennin...Michael Knudsen
2006-03-12sensors_head is only used in kern_sensors.c, so its unnecessay to declareDavid Gwynne
2006-01-28get rid of the sensors globals. theyre were only used by sysctl forDavid Gwynne
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
2005-11-21rename the sensor globals to names that are not obvious to avoidDavid Gwynne
2005-11-13shorten this a bit through better use of TAILQ macros.David Gwynne
2005-11-10the tasklist can be modified while the kthread is sleeping, so refetchDavid Gwynne
2005-11-10first go at a generic kthread for sensors to be run out of. its a bitDavid Gwynne
2005-11-10split the sensors stuff out into a source file of its own.David Gwynne