]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/unican_types.h
One of many steps to support Unicontrols CAN cards.
[lincan.git] / lincan / include / unican_types.h
diff --git a/lincan/include/unican_types.h b/lincan/include/unican_types.h
new file mode 100644 (file)
index 0000000..3e330b8
--- /dev/null
@@ -0,0 +1,25 @@
+#ifndef _UNICAN_TYPES_H
+#define _UNICAN_TYPES_H
+
+#include <linux/types.h>
+
+#ifndef U8
+#define U8  __u8
+#endif
+#ifndef U16
+#define U16 __u16
+#endif
+#ifndef U32
+#define U32 __u32
+#endif
+
+#define BOOLEAN1 __u8
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE  1
+#endif
+
+#endif /*_UNICAN_TYPES_H*/