]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Add a short name, IIC_INTRWAIT, for the common case (IIC_INTR | IIC_WAIT).
authorian <ian@FreeBSD.org>
Sat, 10 Oct 2015 02:06:07 +0000 (02:06 +0000)
committerian <ian@FreeBSD.org>
Sat, 10 Oct 2015 02:06:07 +0000 (02:06 +0000)
sys/dev/iicbus/iiconf.h

index 462165682a859aa27a46d6a3b603df8366bc73be..aca0137d7ea09f76e1727531269b4169fc583192 100644 (file)
@@ -43,6 +43,7 @@
 #define IIC_NOINTR     0
 #define IIC_WAIT       0x1
 #define IIC_INTR       0x2
+#define IIC_INTRWAIT   (IIC_INTR | IIC_WAIT)
 
 /*
  * i2c modes