summaryrefslogtreecommitdiffstats
path: root/sys/dev/iicbus/iic.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/iicbus/iic.h')
-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 ba98d28..8ae1912 100644
--- a/sys/dev/iicbus/iic.h
+++ b/sys/dev/iicbus/iic.h
@@ -56,6 +56,8 @@ struct iic_rdwr_data {
uint32_t nmsgs;
};
+#define IIC_RDRW_MAX_MSGS 42
+
#define I2CSTART _IOW('i', 1, struct iiccmd) /* start condition */
#define I2CSTOP _IO('i', 2) /* stop condition */
#define I2CRSTCARD _IOW('i', 3, struct iiccmd) /* reset the card */
OpenPOWER on IntegriCloud