Enable built-in debug messages usage (via CONFIG_USB_DEBUG)

svn path=/trunk/; revision=15449
This commit is contained in:
Aleksey Bragin 2005-05-21 08:44:40 +00:00
parent a47cb4260c
commit a8779d96c8

View file

@ -42,11 +42,15 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#endif
#ifdef CONFIG_USB_DEBUG #ifdef CONFIG_USB_DEBUG
#define DEBUG #define DEBUG
#else #else
#undef DEBUG #undef DEBUG
#endif #endif
#if 0
#include <linux/usb.h> #include <linux/usb.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
@ -79,7 +83,7 @@
* debug = 3, show all TD's in URB's when dumping * debug = 3, show all TD's in URB's when dumping
*/ */
#ifdef DEBUG #ifdef DEBUG
static int debug = 1; static int debug = 3;
#else #else
static int debug = 2; static int debug = 2;
#endif #endif