summaryrefslogtreecommitdiff
path: root/sys/dev/iicbus
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-06-05 17:48:26 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-06-05 17:48:26 +0000
commitfed318596ca45b303efad99ae4117ea65f2e23cb (patch)
treed1ebf27bd3cbecf0306b79a93ba938cedfebeea1 /sys/dev/iicbus
parent33520e90b23d09cb49d55ce60cf2e6b03ac5790c (diff)
Notes
Diffstat (limited to 'sys/dev/iicbus')
-rw-r--r--sys/dev/iicbus/iic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/iicbus/iic.h b/sys/dev/iicbus/iic.h
index bc29fa01518e..bc2c81e2949f 100644
--- a/sys/dev/iicbus/iic.h
+++ b/sys/dev/iicbus/iic.h
@@ -38,6 +38,8 @@ struct iic_msg
uint16_t flags;
#define IIC_M_WR 0 /* Fake flag for write */
#define IIC_M_RD 0x0001 /* read vs write */
+#define IIC_M_NOSTOP 0x0002 /* do not send a I2C stop after message */
+#define IIC_M_NOSTART 0x0004 /* do not send a I2C start before message */
uint16_t len; /* msg legnth */
uint8_t * buf;
};