Changeset 4950
- Timestamp:
- 10/14/07 13:42:41 (1 year ago)
- Files:
-
- lm-sensors/trunk/CHANGES (modified) (1 diff)
- lm-sensors/trunk/kernel/include/i2c-dev.h (modified) (2 diffs)
- lm-sensors/trunk/prog/detect/i2cdetect.c (modified) (1 diff)
- lm-sensors/trunk/prog/dump/i2cdump.c (modified) (1 diff)
- lm-sensors/trunk/prog/dump/i2cget.c (modified) (1 diff)
- lm-sensors/trunk/prog/dump/i2cset.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lm-sensors/trunk/CHANGES
r4946 r4950 3 3 4 4 SVN HEAD 5 File i2c-dev.h: Rename I2C_FUNC_SMBUS_HWPEC_CALC to I2C_FUNC_SMBUS_PEC 5 6 File sensors.conf.eg: Add a thmc50 section 6 7 File useful_addresses.html: Moved to the wiki lm-sensors/trunk/kernel/include/i2c-dev.h
r4417 r4950 53 53 #define I2C_FUNC_10BIT_ADDR 0x00000002 54 54 #define I2C_FUNC_PROTOCOL_MANGLING 0x00000004 /* I2C_M_{REV_DIR_ADDR,NOSTART,..} */ 55 #define I2C_FUNC_SMBUS_ HWPEC_CALC 0x00000008 /* SMBus 2.0 */55 #define I2C_FUNC_SMBUS_PEC 0x00000008 56 56 #define I2C_FUNC_SMBUS_BLOCK_PROC_CALL 0x00008000 /* SMBus 2.0 */ 57 57 #define I2C_FUNC_SMBUS_QUICK 0x00010000 … … 83 83 I2C_FUNC_SMBUS_WRITE_I2C_BLOCK_2) 84 84 85 /* Old name, for compatibility */ 86 #define I2C_FUNC_SMBUS_HWPEC_CALC I2C_FUNC_SMBUS_PEC 87 85 88 /* 86 89 * Data for SMBus Messages lm-sensors/trunk/prog/detect/i2cdetect.c
r4316 r4950 147 147 { .value = I2C_FUNC_SMBUS_BLOCK_PROC_CALL, 148 148 .name = "SMBus Block Process Call" }, 149 { .value = I2C_FUNC_SMBUS_ HWPEC_CALC,149 { .value = I2C_FUNC_SMBUS_PEC, 150 150 .name = "SMBus PEC" }, 151 151 { .value = I2C_FUNC_SMBUS_WRITE_I2C_BLOCK, lm-sensors/trunk/prog/dump/i2cdump.c
r4432 r4950 245 245 exit(1); 246 246 } 247 if (!(funcs & (I2C_FUNC_SMBUS_ HWPEC_CALC | I2C_FUNC_I2C))) {247 if (!(funcs & (I2C_FUNC_SMBUS_PEC | I2C_FUNC_I2C))) { 248 248 fprintf(stderr, "Warning: Adapter for i2c bus %d does " 249 249 "not seem to actually support PEC\n", i2cbus); lm-sensors/trunk/prog/dump/i2cget.c
r4432 r4950 95 95 96 96 if (pec 97 && !(funcs & (I2C_FUNC_SMBUS_ HWPEC_CALC | I2C_FUNC_I2C))) {97 && !(funcs & (I2C_FUNC_SMBUS_PEC | I2C_FUNC_I2C))) { 98 98 fprintf(stderr, "Warning: Adapter for i2c bus %d does " 99 99 "not seem to support PEC\n", i2cbus); lm-sensors/trunk/prog/dump/i2cset.c
r4432 r4950 235 235 exit(1); 236 236 } 237 if (!(funcs & (I2C_FUNC_SMBUS_ HWPEC_CALC | I2C_FUNC_I2C))) {237 if (!(funcs & (I2C_FUNC_SMBUS_PEC | I2C_FUNC_I2C))) { 238 238 fprintf(stderr, "Warning: Adapter for i2c bus %d does " 239 239 "not seem to actually support PEC\n", i2cbus);
