]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/staging/bcm/InterfaceInit.c
beceem: add network device message level control
[mv-sheeva.git] / drivers / staging / bcm / InterfaceInit.c
index 161141d14565f3606947e5f2b3077a2f683dd50c..3529ea517dab2f4f72e1a96f6a725f3d25858602 100644 (file)
@@ -11,11 +11,6 @@ static struct usb_device_id InterfaceUsbtable[] = {
 };
 MODULE_DEVICE_TABLE(usb, InterfaceUsbtable);
 
-static unsigned int debug_level = DBG_LVL_CURR;
-module_param(debug_level, uint, 0644);
-MODULE_PARM_DESC(debug_level, "Debug level (0=none,...,7=all)");
-
-
 VOID InterfaceAdapterFree(PS_INTERFACE_ADAPTER psIntfAdapter)
 {
        INT i = 0;
@@ -164,7 +159,7 @@ usbbcm_device_probe(struct usb_interface *intf, const struct usb_device_id *id)
 
     /* Init default driver debug state */
 
-       psAdapter->stDebugState.debug_level = debug_level;
+       psAdapter->stDebugState.debug_level = DBG_LVL_CURR;
        psAdapter->stDebugState.type = DBG_TYPE_INITEXIT;
 
     /* Technically, one can start using BCM_DEBUG_PRINT after this point.