summaryrefslogtreecommitdiffstats
path: root/drivers/net/wimax/i2400m/usb-debug-levels.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez2008-12-21 01:57:50 +0100
committerGreg Kroah-Hartman2009-01-07 19:00:21 +0100
commit11a7d0e3140d2f3e8052a856e8582ce9b021972c (patch)
tree460a24023722ec55468a6c313b1e2cfda232b141 /drivers/net/wimax/i2400m/usb-debug-levels.h
parenti2400m: debugfs controls (diff)
downloadkernel-qcow2-linux-11a7d0e3140d2f3e8052a856e8582ce9b021972c.tar.gz
kernel-qcow2-linux-11a7d0e3140d2f3e8052a856e8582ce9b021972c.tar.xz
kernel-qcow2-linux-11a7d0e3140d2f3e8052a856e8582ce9b021972c.zip
i2400m/USB: header for the USB bus driver
This contains the common function declaration and constants for the USB driver for the 2400m Wireless WiMAX Connection, as well as it's debug level settings. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/wimax/i2400m/usb-debug-levels.h')
-rw-r--r--drivers/net/wimax/i2400m/usb-debug-levels.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/usb-debug-levels.h b/drivers/net/wimax/i2400m/usb-debug-levels.h
new file mode 100644
index 000000000000..e4358bd880be
--- /dev/null
+++ b/drivers/net/wimax/i2400m/usb-debug-levels.h
@@ -0,0 +1,42 @@
+/*
+ * Intel Wireless WiMAX Connection 2400m
+ * Debug levels control file for the i2400m-usb module
+ *
+ *
+ * Copyright (C) 2007-2008 Intel Corporation <linux-wimax@intel.com>
+ * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License version
+ * 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ * 02110-1301, USA.
+ */
+#ifndef __debug_levels__h__
+#define __debug_levels__h__
+
+/* Maximum compile and run time debug level for all submodules */
+#define D_MODULENAME i2400m_usb
+#define D_MASTER CONFIG_WIMAX_I2400M_DEBUG_LEVEL
+
+#include <linux/wimax/debug.h>
+
+/* List of all the enabled modules */
+enum d_module {
+ D_SUBMODULE_DECLARE(usb),
+ D_SUBMODULE_DECLARE(fw),
+ D_SUBMODULE_DECLARE(notif),
+ D_SUBMODULE_DECLARE(rx),
+ D_SUBMODULE_DECLARE(tx),
+};
+
+
+#endif /* #ifndef __debug_levels__h__ */