summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/asmc.c
AgeCommit message (Expand)AuthorFilesLines
2017-08-22Move array bounds tests before access to avoid reading past the end ofjsg1-3/+3
2017-02-14asmc: on system resume, restore the keyboard backlight valuejcs1-2/+17
2016-04-22do not try to probe light sensors for machines with none available, this wasjung1-9/+10
2016-04-19lower case temperature descriptions and separate fan description from fanjung1-50/+50
2015-12-27set sensor type later on initjung1-5/+5
2015-12-27fold for loops back into a wait function in a similar manner as acpiec doesjung1-31/+17
2015-12-27rename kbdled to backlight and mention chip model in commentjung1-11/+11
2015-12-27extra taskq is gone, so also remove the no longer needed init variablejung1-19/+17
2015-12-27simplify and unify keyboard backlight hooks, doing the same kassert instead ofjung1-17/+5
2015-12-27with Mark's fix in previous commit the extra taskq for delayed initializationjung1-35/+6
2015-12-22The Apple SMC is implemented on a H8S/2117 chip. Communication with the chipkettenis1-32/+41
2015-12-15ignore unlikely temperature values like -127 degCjung1-2/+5
2015-12-15add 2 more temperature keys found in macbook pro (10,2)jung1-10/+9
2015-12-15add more temperature keys found in newer macbook airs (6,1 and 7,2)jung1-7/+8
2015-12-15make sure the read fan description is always nul terminatedjung1-2/+3
2015-12-12enable keyboard backlight support via wskbd(4) hooksjung1-3/+78
2015-12-11remove wrapper function and call LKSB key write directlyjung1-18/+10
2015-12-11remove no longer needed prototypejung1-3/+2
2015-12-11instead of checking the status everywhere do it directly after (trying) thejung1-48/+53
2015-10-29enable keyboard backlight led earlier to avoid racejung1-9/+12
2015-10-25refactor to use a taskq and postpone the long running initial sensor probing,jung1-246/+262
2015-10-15avoid using a var uninitialisedjsg1-1/+2
2015-10-10add location to the fan descriptionjung1-1/+17
2015-10-10fix wrong brackets in if statementjung1-2/+2
2015-10-04tweak initial output a bit: do not show number of light sensors, just show ifjung1-3/+3
2015-10-04a macmini has no light sensor, but reading from light sensor keys isjung1-9/+3
2015-10-04remove duplicate key, found by kettenisjung1-3/+3
2015-10-01relax vendor comparison to match variations found in olderjung1-2/+2
2015-10-01add const, prodded by mpijung1-2/+2
2015-10-01remove superfluous sensor_attach() added for debug reasonsjung1-2/+1
2015-10-01fix semicolon after if statementjsg1-1/+2
2015-09-30add a (disabled) driver for the Apple System Management Controller (SMC) asjung1-0/+651