patch-2.4.4 linux/drivers/usb/serial/belkin_sa.c
Next file: linux/drivers/usb/serial/belkin_sa.h
Previous file: linux/drivers/usb/serial/Config.in
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Apr 6 15:51:50 2001
- Orig file:
v2.4.3/linux/drivers/usb/serial/belkin_sa.c
- Orig date:
Fri Mar 23 11:50:01 2001
diff -u --recursive --new-file v2.4.3/linux/drivers/usb/serial/belkin_sa.c linux/drivers/usb/serial/belkin_sa.c
@@ -68,13 +68,13 @@
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/spinlock.h>
+#include <linux/usb.h>
#ifdef CONFIG_USB_SERIAL_DEBUG
- #define DEBUG
+ static int debug = 1;
#else
- #undef DEBUG
+ static int debug;
#endif
-#include <linux/usb.h>
#include "usb-serial.h"
#include "belkin_sa.h"
@@ -607,3 +607,7 @@
module_exit (belkin_sa_exit);
MODULE_DESCRIPTION("USB Belkin Serial converter driver");
+
+MODULE_PARM(debug, "i");
+MODULE_PARM_DESC(debug, "Debug enabled or not");
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)