summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/adm1021.c
AgeCommit message (Collapse)Author
2006-04-10make this match our code standardsTheo de Raadt
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
sensor_add()/sensor_del() so that sensors can be attached and detached dynamicaly. ok kettenis@ deraadt@ dlg@
2006-01-03Use "official" chip part names/numbers for matching.Mark Kettenis
ok deraadt@
2006-01-02add the name sparc64 calls this thingTheo de Raadt
2005-12-29stop using I2C_F_POLL; it is a bus driver responsibility nowTheo de Raadt
2005-12-29"xeontemp" just means "looks like some sort of adm1021, or maxim1617,Theo de Raadt
but without any ID registers". anyways, i found some that still have two registers. instead of using "xeontemp" to mean "only look at one probe", use the existing 0x7f == short plus the ext-short bit in the status register to determine validity. otherwise, show them both.
2005-12-28probe for adm1032, a stupid stupid adm1021Theo de Raadt
2005-12-27correctly mark 0x7f temperature reading as invalidTheo de Raadt
2005-12-27mark xeon internal sensor invalid each timeTheo de Raadt
2005-12-27oops, messed up "enabling run"Theo de Raadt
2005-12-27only start, if not already startedTheo de Raadt
2005-12-27no longer use ia_compat; tested by a fewTheo de Raadt
2005-12-26add address qualifiers to a few chips (ie. they can only occur at certainTheo de Raadt
addresses) there are some "xeon" sensors that are actually real maxim1617, and hence have a 0xfe register containing maxim's identifier .. cope. remove totally bogus lm81 detection.
2005-12-26maxim1617 is the sameTheo de Raadt
2005-12-26set the "start adc" bit upon startupTheo de Raadt
2005-12-25rename Xeon sensor, and ignore the other temperature sensorTheo de Raadt
2005-12-24bad messageTheo de Raadt
2005-12-24For Xeon sensors, only show one probeTheo de Raadt
2005-12-24handle embedded xeon temperature probes. yes, you got it -- i2c wiresTheo de Raadt
coming off the processor... for an embedded adm1021 on the chip. only the "external" temperature is valid, the other one is disabled.
2005-12-24signed temperature...Theo de Raadt
2005-12-23match functions deserve a failure conditionTheo de Raadt
2005-12-22start at a driver for the stupid ADM 1021Theo de Raadt