summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-11-24 11:02:38 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2009-11-24 11:02:38 +1100
commitab57f904b275e7c2bb07faaa84c5a917c50a8c85 (patch)
treeb2d11f29a6a28a9fff52b1d6df9f74b23936bd4e /Documentation
parent83cc1999b8899268a6a8a1787f5f8547f0240f16 (diff)
i2c-stub: Implement I2C block support
This is required to test some drivers, for example at24. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/i2c/i2c-stub6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/i2c/i2c-stub b/Documentation/i2c/i2c-stub
index 0d8be1c20c16..d9c383b30925 100644
--- a/Documentation/i2c/i2c-stub
+++ b/Documentation/i2c/i2c-stub
@@ -2,9 +2,9 @@ MODULE: i2c-stub
DESCRIPTION:
-This module is a very simple fake I2C/SMBus driver. It implements four
-types of SMBus commands: write quick, (r/w) byte, (r/w) byte data, and
-(r/w) word data.
+This module is a very simple fake I2C/SMBus driver. It implements five
+types of SMBus commands: write quick, (r/w) byte, (r/w) byte data, (r/w)
+word data, and (r/w) I2C block data.
You need to provide chip addresses as a module parameter when loading this
driver, which will then only react to SMBus commands to these addresses.