Author: nwhitehorn
Date: Sat Jun 5 17:48:26 2010
New Revision: 208839
URL: http://svn.freebsd.org/changeset/base/208839
Log:
Add two new flags (IIC_M_NOSTOP and IIC_M_NOSTART) to struct iic_msg to
allow consumers of iicbus_transfer() to send messages with repeated starts.
Reviewed by: imp
Modified:
head/sys/dev/iicbus/iic.h
Modified: head/sys/dev/iicbus/iic.h
==============================================================================
--- head/sys/dev/iicbus/iic.h Sat Jun 5 17:22:17 2010 (r208838)
+++ head/sys/dev/iicbus/iic.h Sat Jun 5 17:48:26 2010 (r208839)
@@ -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;
};
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"