patch-2.4.18 linux/drivers/usb/serial/usb-serial.h
Next file: linux/drivers/usb/serial/usbserial.c
Previous file: linux/drivers/usb/serial/kl5kusb105.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed Jan 16 20:13:57 2002
- Orig file:
linux.orig/drivers/usb/serial/usb-serial.h
- Orig date:
Mon Feb 18 20:18:40 2002
diff -Naur -X /home/marcelo/lib/dontdiff linux.orig/drivers/usb/serial/usb-serial.h linux/drivers/usb/serial/usb-serial.h
@@ -132,8 +132,12 @@
struct list_head driver_list;
- /* function call to make before accepting driver */
- /* return 0 to continue initialization, anything else to abort */
+ /* function call to make before accepting driver
+ * return 0 to continue initialization,
+ * < 0 aborts startup,
+ * > 0 does not set up anything else and is useful for devices that have
+ * downloaded firmware, and will reset themselves shortly.
+ */
int (*startup) (struct usb_serial *serial);
void (*shutdown) (struct usb_serial *serial);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)