aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-algo-pcf.h
diff options
context:
space:
mode:
authorEric Brower <ebrower@gmail.com>2008-07-14 16:38:31 -0400
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 16:38:31 -0400
commit0573d11b2bbd0e4774f33f4c1959c1939c055e96 (patch)
treef78451f46dc192ec90f7d30e531633104dc7ae93 /include/linux/i2c-algo-pcf.h
parent8a56ce1033073657572bd993595a56498baa4800 (diff)
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.h6
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 {
36 /* local settings */ 36 /* local settings */
37 int udelay; 37 int udelay;
38 int timeout; 38 int timeout;
39
40 /* Multi-master lost arbitration back-off delay (msecs)
41 * This should be set by the bus adapter or knowledgable client
42 * if bus is multi-mastered, else zero
43 */
44 unsigned long lab_mdelay;
39}; 45};
40 46
41int i2c_pcf_add_bus(struct i2c_adapter *); 47int i2c_pcf_add_bus(struct i2c_adapter *);