patch-2.4.0-test2 linux/drivers/usb/hub.h

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

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/usb/hub.h linux/drivers/usb/hub.h
@@ -72,6 +72,8 @@
 #define HUB_CHANGE_LOCAL_POWER	0x0001
 #define HUB_CHANGE_OVERCURRENT	0x0002
 
+#define HUB_DESCRIPTOR_MAX_SIZE	39	/* enough for 127 ports on a hub */
+
 /* Hub descriptor */
 struct usb_hub_descriptor {
 	__u8  bLength;

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