[lm-sensors] PATCH- i2c-iop3xx platform driver avoid addressing self
khali at linux-fr.org
Sun Jun 18 11:23:21 CEST 2006
> Avoid addressing self when sending a Master address. Follows instruction
> in Intel 80331/80321 manuals.
> Ignoring this worked previously on 80321, but causes a hang on i2cdetect
> on 80331
Can't you simply disable the slave address? You don't seem to use it
BTW, you must be using an old version of i2cdetect, as the slave address
appears to be forced to 0x02 in the i2c-iop3xx driver (not a smart
choice...) and i2cdetect does no more scan this address by default.
> diff -uprN -X dontdiff linux-184.108.40.206/drivers/i2c/busses/i2c-iop3xx.h linux-220.127.116.11-iq80331/drivers/i2c/busses/i2c-iop3xx.h
> --- linux-18.104.22.168/drivers/i2c/busses/i2c-iop3xx.h 2006-06-05 18:18:23.000000000 +0100
> +++ linux-22.214.171.124-iq80331/drivers/i2c/busses/i2c-iop3xx.h 2006-06-16 12:20:07.000000000 +0100
> @@ -85,6 +85,7 @@
> #define I2C_ERR 321
> #define I2C_ERR_BERR (I2C_ERR+0)
> #define I2C_ERR_ALD (I2C_ERR+1)
> +#define I2C_ERR_WRITEMYSAR (I2C_ERR+10)
Please use tabs, not spaces, for alignment.
More information about the lm-sensors