summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/i2c_scan.c
AgeCommit message (Collapse)Author
2006-11-19Probe for National Semiconductor LM63.Mark Kettenis
2006-11-19Probe for Myson MTP008.Mark Kettenis
2006-11-01lm75 scoring should not show up in verboseTheo de Raadt
2006-09-26re-enable I2C_VERBOSEJonathan Gray
ok deraadt@
2006-08-29#undef I2C_VERBOSEMark Kettenis
ok deraadt@
2006-08-18probe for the lm75a, meaning that the lm75/lm75a/lm77 probe routine mustTheo de Raadt
become quite complicated. work done by matt@bodgit-n-scarper.com after i explained how daft these devices are
2006-07-15Add support for Genesys Logic GL523SM and Global Mixed-mode Technology G781.Mark Kettenis
tested by fgs@ and Stuart Henderson.
2006-07-12spacingTheo de Raadt
2006-07-12Add missing break.Mark Kettenis
2006-07-12Sort switch statements by vendor ID.Mark Kettenis
2006-06-14teach it fintek f75375; half by drahnTheo de Raadt
2006-04-29bring back skip_fc SMI workaround for max6657 chips; ok kettenis@Damien Miller
2006-04-17Reorganize the 0xfe vendor register block, adding new devices and tighteningMark Kettenis
checks on existing devices. "slap it in" deraadt@
2006-03-22Detect newer revisions of the LM81.Mark Kettenis
2006-03-19sis950 has 0x5b missing, so it looks more like an it8712f-aTheo de Raadt
2006-03-19ok, what i thought was sis950 is actually likely the it8712f-aTheo de Raadt
2006-03-18probe for it8712 and sis950 (somewhat of a clone)Theo de Raadt
2006-03-12Tweak comment.Mark Kettenis
2006-03-07Add a few more SMSC devices.Mark Kettenis
2006-03-07Improve adm1030/adm1031 detection.Mark Kettenis
ok deraadt@
2006-03-04Re-enable I2C_VERBOSE.Mark Kettenis
2006-03-04handle lm96000 (another similar chip); ok kettenis, tested by ↵Theo de Raadt
stu@spacehopper.org
2006-02-26Don't touch i2c bus tag internals directly.Alexander Yurchenko
ok deraadt@
2006-02-25Make sure we print something for unidentified devices.Mark Kettenis
ok deraadt@
2006-02-25#undef I2C_VERBOSE; re-enable after release.Mark Kettenis
prompted by deraadt@
2006-02-08add a member to the i2c_attach args so that a controller can pass aDavid Gwynne
cookie down to the device. the most obvious use of this is to pass a device its ofw node on sparc64 and macppc so it can configure itself more appropriately. ok kettenis@ henning@ deraadt@
2006-02-08Fix lm75 check.Mark Kettenis
ok deraadt@
2006-02-04s/amd1032cloneprobe/adm1032cloneprobe/gMark Kettenis
2006-01-29Don't probe address 0x4f.Mark Kettenis
ok deraadt@
2006-01-28Move address checks forward. Cleanup comments.Mark Kettenis
2006-01-28Disable ds1624/ds1631/ds1721 probe.Mark Kettenis
requested by deraadt@
2006-01-23The GL518SM is a real piece of shit, and if we don't detect it bad thingsMark Kettenis
will happen. The comment in the code has all the gory details. tested by jmc@
2006-01-18Fix typo; w83l785ts-l has chip ID 0x70.Mark Kettenis
2006-01-17AS99127F rev 1 doesn't have i2c address in register 0x48.Mark Kettenis
2006-01-15Fix typo.Mark Kettenis
2006-01-14Detect more Winbond chips.Mark Kettenis
"Of course!" deraadt@
2006-01-13damn, on the ds1721 we can be sure of even fewer known bitsTheo de Raadt
2006-01-13introduce the most stupid basic scan check for the maximally braindeadTheo de Raadt
ds1631/1624/1721 chips. this will need improvement -- we MUST check for more registers that alias or don't -- because we tend to write these chips ok grange
2006-01-12attempt to probe for the ds1624; ok grangeTheo de Raadt
2006-01-11Identify Winbond chips that are in a non-zero register bank as w83781d.Mark Kettenis
Let the driver sort out the proper chip detection in that case. "I like it" deraadt@, tested by robert@
2006-01-09do a lot more careful register checking for echos and roll-around andTheo de Raadt
nonsense values in the lm75 probe. while there, make it look for a significant difference the lm77 has, ok grange
2006-01-06pick some register with a known value, to try to tell a lm96000 apartTheo de Raadt
from any of a variety of National superio chipsets for which documention is very hard to find
2006-01-05if both debug and verbose defined, only spit out the dump onceTheo de Raadt
2006-01-04detect lm96000Theo de Raadt
2006-01-04split out I2C_DEBUG into I2C_VERBOSE. VERBOSE is on. Turn on DEBUG toTheo de Raadt
show more information to i2c developers. thanks.
2006-01-03Use "official" chip part names/numbers for matching.Mark Kettenis
ok deraadt@
2005-12-31Better bounds for the lm7x register repeat test; ok deraadt@Miod Vallat
2005-12-31we do not look at the proberegs anymore, always full dumpsTheo de Raadt
2005-12-31if a register dump is going to find that all the registers are the same,Theo de Raadt
then skip it. it's some quirky piece of garbage we can never support
2005-12-31we think we can now probe chips correctly. only print the register dumpTheo de Raadt
if we fail to attach a driver to a chip name. this means that if we incorrectly diagnose a chip, someone will have to compile a debug kernel. i think we are ready for this, but we will see what the next week brings.