Go to the documentation of this file.
49 #ifndef _LINUX_MWAVEDD_H
50 #define _LINUX_MWAVEDD_H
56 #include <asm/uaccess.h>
57 #include <linux/wait.h>
65 #define PRINTK_ERROR printk
66 #define KERN_ERR_MWAVE KERN_ERR "mwave: "
68 #define TRACE_MWAVE 0x0001
69 #define TRACE_SMAPI 0x0002
70 #define TRACE_3780I 0x0004
71 #define TRACE_TP3780I 0x0008
74 #define PRINTK_1(f,s) \
75 if (f & (mwave_debug)) { \
79 #define PRINTK_2(f,s,v1) \
80 if (f & (mwave_debug)) { \
84 #define PRINTK_3(f,s,v1,v2) \
85 if (f & (mwave_debug)) { \
89 #define PRINTK_4(f,s,v1,v2,v3) \
90 if (f & (mwave_debug)) { \
94 #define PRINTK_5(f,s,v1,v2,v3,v4) \
95 if (f & (mwave_debug)) { \
96 printk(s,v1,v2,v3,v4); \
99 #define PRINTK_6(f,s,v1,v2,v3,v4,v5) \
100 if (f & (mwave_debug)) { \
101 printk(s,v1,v2,v3,v4,v5); \
104 #define PRINTK_7(f,s,v1,v2,v3,v4,v5,v6) \
105 if (f & (mwave_debug)) { \
106 printk(s,v1,v2,v3,v4,v5,v6); \
109 #define PRINTK_8(f,s,v1,v2,v3,v4,v5,v6,v7) \
110 if (f & (mwave_debug)) { \
111 printk(s,v1,v2,v3,v4,v5,v6,v7); \
115 #define PRINTK_1(f,s)
116 #define PRINTK_2(f,s,v1)
117 #define PRINTK_3(f,s,v1,v2)
118 #define PRINTK_4(f,s,v1,v2,v3)
119 #define PRINTK_5(f,s,v1,v2,v3,v4)
120 #define PRINTK_6(f,s,v1,v2,v3,v4,v5)
121 #define PRINTK_7(f,s,v1,v2,v3,v4,v5,v6)
122 #define PRINTK_8(f,s,v1,v2,v3,v4,v5,v6,v7)