summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-algo-pcf.h
diff options
context:
space:
mode:
authorEric Brower <ebrower@gmail.com>2008-07-14 22:38:31 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-07-14 22:38:31 +0200
commit0573d11b2bbd0e4774f33f4c1959c1939c055e96 (patch)
treef78451f46dc192ec90f7d30e531633104dc7ae93 /include/linux/i2c-algo-pcf.h
parent8a56ce1033073657572bd993595a56498baa4800 (diff)
downloadlinux-0573d11b2bbd0e4774f33f4c1959c1939c055e96.tar.gz
linux-0573d11b2bbd0e4774f33f4c1959c1939c055e96.tar.bz2
linux-0573d11b2bbd0e4774f33f4c1959c1939c055e96.zip
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 {
/* 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 *);