summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
AgeCommit message (Collapse)Author
2007-10-26Phillips -> Philips in commentsMartin Reindl
2007-10-25expand range where we search for sensorsTheo de Raadt
2007-10-24remove the unused i2cbus_attach_args param from the probe functions; ok deraadtConstantine A. Murenin
2007-10-24make older gcc happierTheo de Raadt
2007-10-24fix r1.101 (2007-10-07) regression of not calling the iic_dump() for aConstantine A. Murenin
successfully identified sensor chip that was not claimed by any driver; whilst at it, get rid of the 'if defined' madness ok deraadt
2007-10-24Uncomment PECI mode diagnosting bits.Mike Belopuhov
ok deraadt
2007-10-24skip the ignored addresses completely (now covers the eeprom range, too); ↵Constantine A. Murenin
ok deraadt
2007-10-20_check prototypes are no longer used (replaced by i2c_scan.c); ok deraadt@Constantine A. Murenin
2007-10-20Create memory specific decode routines to make code cleaner,Jonathan Gray
suggested by deraadt. This file has mostly been rewritten even before it was initially comitted so add my copyright to it as well.
2007-10-20re-introduce the "p_clk rounding" for DDR -- they need itTheo de Raadt
ok jsg
2007-10-20Print the type of DIMM (SO-DIMM/Mini-DIMM/Micro-DIMM) forJonathan Gray
non regular DDR2, there does not seem to be any equivalent information in the SDR/DDR layouts.
2007-10-20Deal with all possible 16 array offsets for tenths of a nanosecond array,Jonathan Gray
and tweak p_clk rounding to return correct values. From giovanni <qgiovanni@gmail.com>
2007-10-18Correct tenths of a nanosecond cycle encodings for DDR2,Jonathan Gray
this makes the PC2-xxxx values show properly in all cases. From giovanni <qgiovanni@gmail.com> tested/ok cnst@ ok deraadt@
2007-10-18ignore fans with >= 0x0fff readings. According to the iic_dump(), it appearsConstantine A. Murenin
as if all the invalid fans have either 0x0f00 or 0x0000 readings, but with the in-the-field driver 0x0f00 appears as 0x0fff. At any rate, no real fans would have sensors detecting 0x0f00 (351 RPM), so no harm continuing to ignore it, t. tested by jon.steel@esentire.com discussed with kettenis@ deraadt@
2007-10-18Check to see if the SPD EEPROM size looks sane (ie < 32K)Jonathan Gray
when trying to decide if we have found an SPD EEPROM. ok deraadt@
2007-10-18add missing $OpenBSD$; "of course" deraadtConstantine A. Murenin
2007-10-17add probe for TI TMP401 (untested)Theo de Raadt
2007-10-17typoTheo de Raadt
2007-10-17clear the invalid flag for temperature sensors that are no longer invalid; ↵Constantine A. Murenin
ok deraadt
2007-10-17decl variables earlier; pointed out by fgschTheo de Raadt
2007-10-17some local variables can shadow to decrease kernel stack use, wheeTheo de Raadt
2007-10-16Fix printing of DIMM size for DDR2.Mark Kettenis
input from canacar@, jsg@, deraadt@ ok deraadt@
2007-10-15No need to match on "at34c02" anymore.Mark Kettenis
ok deraadt@
2007-10-14correctly print PC and PC2- prefixes; ok jsgTheo de Raadt
2007-10-14fix newlinesTheo de Raadt
2007-10-14wbng(4) driver for Winbond W83793G Hardware Monitor; 'commit it' deraadtConstantine A. Murenin
2007-10-14print the name of the chip on attach; ok deraadtConstantine A. Murenin
2007-10-13really correct : printing; ok deraadt@Constantine A. Murenin
2007-10-11probe for Winbond W83793G; tested by jon.steel@esentire.com; suggestions/ok ↵Constantine A. Murenin
deraadt@
2007-10-11hypenate memory type for readability.Jonathan Gray
2007-10-10correct : printing; ok jsgTheo de Raadt
2007-10-09we have been knocking out i2c when ipmi exists on a machine (becauseTheo de Raadt
there are ipmi bmc's that apparently violate i2c bus master locking). but those problems bite us only for sensors which we re-scan every few seconds, and then we hit the ipmi bmc's races. for non-sensor devices (like spdmem) it is probably ok to look once. let's try that method for a while and see if anyone sees breakage.
2007-10-08Print registered/CAS latency information for SDRAM.Jonathan Gray
2007-10-08To identity PC133 we need to check cycle time as modulesJonathan Gray
often identify as PC100.
2007-10-08Correct frequency for SDRAM.Jonathan Gray
2007-10-08Don't skip EEPROMs in ofw i2c scan,Jonathan Gray
match on sparc64 SPD name in spdmem. Tested on a V120. ok deraadt@
2007-10-08Indicate if the module is registered, DDR/DDR2 only at the moment.Jonathan Gray
Tested by ian@ wilfried@ and deraadt@
2007-10-07Print CAS latency for DDR/DDR2.Jonathan Gray
Shuffle strings around to look pretty as suggested by deraadt.
2007-10-07Port of Nicolas Joly, Paul Goyette & Tobias Nygren'sJonathan Gray
spdmem(4) driver for Serial Presence Detect memory information.
2007-10-07add support for scanning the spdmem range of addresses, using a differentTheo de Raadt
probe function; based on earlier work by jsg, and retested by us
2007-09-18Set SENSOR_FINVALID instead of clearing it when reading fails.Mark Kettenis
ok otto@
2007-09-09thmc vs tmhc screwupTheo de Raadt
2007-09-09new driver for TI tmhc50 / adm1022 / adm1028; checked by kettenisTheo de Raadt
2007-09-07missing scale factor; from Mike BelopuhovTheo de Raadt
2007-09-07Enter adl(4), a driver for the Andigilog aSC7621 written by Mike Belopuhov.Mark Kettenis
2007-09-06meaningless numbers and strings should not appear in sensor.desc; ok deraadt@Constantine A. Murenin
2007-09-06fix copyright; spotted by cnstTheo de Raadt
2007-09-06negate -12V input value; spotted by Alexander LobodzinskiTheo de Raadt
2007-09-05typo; Mike BelopuhovTheo de Raadt
2007-09-05probe for adt7462 (no driver yet, someone want to write one), and mentionTheo de Raadt
a few more sub-types as comments; ok kettenis