patch-2.3.4 linux/drivers/usb/usb-debug.c
Next file: linux/drivers/usb/usb.c
Previous file: linux/drivers/usb/usb-core.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Sat May 22 14:45:56 1999
- Orig file:
v2.3.3/linux/drivers/usb/usb-debug.c
- Orig date:
Wed Apr 21 02:32:59 1999
diff -u --recursive --new-file v2.3.3/linux/drivers/usb/usb-debug.c linux/drivers/usb/usb-debug.c
@@ -124,4 +124,8 @@
printk("\n");
}
-
+void usb_show_string(struct usb_device* dev, char *id, int index)
+{
+ if (index <= dev->maxstring && dev->stringindex && dev->stringindex[index])
+ printk("%s: %s\n", id, dev->stringindex[index]);
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)