Module Name: src Committed By: msaitoh Date: Tue Jul 26 07:30:16 UTC 2016
Modified Files: src/sys/dev/i2c: sdtemp.c sdtemp_reg.h Log Message: Reviewed and OK'd by pgoyette: - Add supoprt for Atmel AT30TS00, AT30TSE004, Giantec GT30TS00, GT34TS02, Microchip MCP9804, MCP98244, IDT TS3000GB[02], TS3001GB2, TSE2004GB2, and On Semiconductor CAT34TS04. Taken from OpenBSD. - Add IDT TSE2002GB2. - Check the temperature resolution field in the capability register instead of the hard coded value in the match table. With this change, some devices' temperature resolution would be fixed. - The resolution register is a vendor specific register. - All of IDT devices have the resolution register. - The address of the resolution register of Microchip MCP98244 is different from other Microchip devices. - Show accuracy, range, resolution and timeout with aprint_normal(). - Show timeout with aprint_debug(). To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/dev/i2c/sdtemp.c cvs rdiff -u -r1.8 -r1.9 src/sys/dev/i2c/sdtemp_reg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.