Staging: line6: remove PT_REGS
[linux-2.6/mini2440.git] / drivers / staging / line6 / config.h
blob205e697fa90c20e04335d68f76af247b4d5718c8
1 /*
2 * Line6 Linux USB driver - 0.8.0
4 * Copyright (C) 2004-2009 Markus Grabner (grabner@icg.tugraz.at)
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
12 #ifndef CONFIG_H
13 #define CONFIG_H
16 #include <linux/version.h>
18 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
19 #include <linux/config.h>
20 #endif
22 #ifdef CONFIG_USB_DEBUG
23 #define DEBUG 1
24 #endif
27 /**
28 Development tools.
30 #define DO_DEBUG_MESSAGES 0
31 #define DO_DUMP_URB_SEND DO_DEBUG_MESSAGES
32 #define DO_DUMP_URB_RECEIVE DO_DEBUG_MESSAGES
33 #define DO_DUMP_PCM_SEND 0
34 #define DO_DUMP_PCM_RECEIVE 0
35 #define DO_DUMP_MIDI_SEND DO_DEBUG_MESSAGES
36 #define DO_DUMP_MIDI_RECEIVE DO_DEBUG_MESSAGES
37 #define DO_DUMP_ANY (DO_DUMP_URB_SEND || DO_DUMP_URB_RECEIVE || \
38 DO_DUMP_PCM_SEND || DO_DUMP_PCM_RECEIVE || \
39 DO_DUMP_MIDI_SEND || DO_DUMP_MIDI_RECEIVE)
40 #define CREATE_RAW_FILE 0
42 #if DO_DEBUG_MESSAGES
43 #define CHECKPOINT printk("line6usb: %s (%s:%d)\n", __FUNCTION__, __FILE__, __LINE__)
44 #endif
46 #if DO_DEBUG_MESSAGES
47 #define DEBUG_MESSAGES(x) (x)
48 #else
49 #define DEBUG_MESSAGES(x)
50 #endif
53 #endif