diff options
author | Eric Brower <ebrower@gmail.com> | 2008-07-15 00:38:31 +0400 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-07-15 00:38:31 +0400 |
commit | 0573d11b2bbd0e4774f33f4c1959c1939c055e96 (patch) | |
tree | f78451f46dc192ec90f7d30e531633104dc7ae93 /include/linux/i2c-algo-pcf.h | |
parent | 8a56ce1033073657572bd993595a56498baa4800 (diff) | |
download | linux-0573d11b2bbd0e4774f33f4c1959c1939c055e96.tar.xz |
i2c-algo-pcf: Multi-master lost-arbitration improvement
Improve lost-arbitration handling of PCF8584. This is necessary for
support of a currently out-of-kernel driver for Sun Microsystems E250
environmental management; perhaps others.
Signed-off-by: Eric Brower <ebrower@gmail.com>
Acked-by: Dan Smolik <marvin@mydatex.cz>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c-algo-pcf.h')
-rw-r--r-- | include/linux/i2c-algo-pcf.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/i2c-algo-pcf.h b/include/linux/i2c-algo-pcf.h index 77afbb60fd11..74fb6f889a77 100644 --- a/include/linux/i2c-algo-pcf.h +++ b/include/linux/i2c-algo-pcf.h @@ -36,6 +36,12 @@ struct i2c_algo_pcf_data { /* local settings */ int udelay; int timeout; + + /* Multi-master lost arbitration back-off delay (msecs) + * This should be set by the bus adapter or knowledgable client + * if bus is multi-mastered, else zero + */ + unsigned long lab_mdelay; }; int i2c_pcf_add_bus(struct i2c_adapter *); |