patch-2.4.3 linux/include/linux/usb.h
Next file: linux/include/linux/videodev.h
Previous file: linux/include/linux/tty.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Mar 26 15:49:54 2001
- Orig file:
v2.4.2/linux/include/linux/usb.h
- Orig date:
Thu Jan 4 14:52:19 2001
diff -u --recursive --new-file v2.4.2/linux/include/linux/usb.h linux/include/linux/usb.h
@@ -555,11 +555,17 @@
int (*unlink_urb) (struct urb* purb);
};
+#define DEVNUM_ROUND_ROBIN /***** OPTION *****/
+
/*
* Allocated per bus we have
*/
struct usb_bus {
int busnum; /* Bus number (in order of reg) */
+
+#ifdef DEVNUM_ROUND_ROBIN
+ int devnum_next; /* Next open device number in round-robin allocation */
+#endif /* DEVNUM_ROUND_ROBIN */
struct usb_devmap devmap; /* Device map */
struct usb_operations *op; /* Operations (specific to the HC) */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)