[lm-sensors] [patch lm-sensors 2.10.4] i2cdetect mislabels PEC
David Brownell
david-b at pacbell.net
Mon Sep 17 22:50:24 CEST 2007
When "i2cdetect -F" says "SMBus PEC", it's extremely misleading. The
issue is whether or not PEC has *HARDWARE* support, not whether PEC
itself is supported. (PEC is portably implemented in software.)
--- lm_sensors-2.10.4.orig/prog/detect/i2cdetect.c
+++ lm_sensors-2.10.4/prog/detect/i2cdetect.c
@@ -147,7 +147,7 @@ static const struct func all_func[] = {
{ .value = I2C_FUNC_SMBUS_BLOCK_PROC_CALL,
.name = "SMBus Block Process Call" },
{ .value = I2C_FUNC_SMBUS_HWPEC_CALC,
- .name = "SMBus PEC" },
+ .name = "SMBus PEC in Hardware" },
{ .value = I2C_FUNC_SMBUS_WRITE_I2C_BLOCK,
.name = "I2C Block Write" },
{ .value = I2C_FUNC_SMBUS_READ_I2C_BLOCK,
More information about the lm-sensors
mailing list