patch-2.3.38 linux/drivers/usb/usb_scsi.h

Next file: linux/drivers/usb/usbkbd.c
Previous file: linux/drivers/usb/usb_scsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.37/linux/drivers/usb/usb_scsi.h linux/drivers/usb/usb_scsi.h
@@ -15,13 +15,13 @@
 
 #define USB_SCSI "usbscsi: "
 
-extern int usbscsi_debug;
+extern int usb_stor_debug;
 
 #ifdef CONFIG_USB_SCSI_DEBUG
 void us_show_command(Scsi_Cmnd *srb);
-#define US_DEBUGP(x...) { if(usbscsi_debug) printk( KERN_DEBUG USB_SCSI ## x ); }
-#define US_DEBUGPX(x...) { if(usbscsi_debug) printk( ## x ); }
-#define US_DEBUG(x)  { if(usbscsi_debug) x; }
+#define US_DEBUGP(x...) { if(usb_stor_debug) printk( KERN_DEBUG USB_SCSI ## x ); }
+#define US_DEBUGPX(x...) { if(usb_stor_debug) printk( ## x ); }
+#define US_DEBUG(x)  { if(usb_stor_debug) x; }
 #else
 #define US_DEBUGP(x...)
 #define US_DEBUGPX(x...)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)