diff options
Diffstat (limited to 'include/linux/cycx_x25.h')
-rw-r--r-- | include/linux/cycx_x25.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/cycx_x25.h b/include/linux/cycx_x25.h index 4fa2e967e..97e7b59e2 100644 --- a/include/linux/cycx_x25.h +++ b/include/linux/cycx_x25.h @@ -12,6 +12,7 @@ * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * ============================================================================ +* 2000/04/02 acme dprintk and cycx_debug * 1999/01/03 acme judicious use of data types * 1999/01/02 acme #define X25_ACK_N3 0x4411 * 1998/12/28 acme cleanup: lot'o'things removed @@ -30,6 +31,11 @@ #define X25_MBOX_OFFS 0x300 /* general mailbox block */ #define X25_RXMBOX_OFFS 0x340 /* receive mailbox */ +/* Debug */ +#define dprintk(level, format, a...) if (cycx_debug >= level) printk(format, ##a) + +extern unsigned int cycx_debug; + /* Data Structures */ /* X.25 Command Block. */ typedef struct X25Cmd |