diff options
| author | Jan Kara <jack@suse.cz> | 2013-08-09 10:49:58 +0200 |
|---|---|---|
| committer | Jan Kara <jack@suse.cz> | 2013-08-09 10:49:58 +0200 |
| commit | 97a2847d064e2fdd2e3cd4ff14cad2f377f0677a (patch) | |
| tree | e49ce105dc6febc25dc3ceba6070ea3998c7330c /include/uapi/linux/usb | |
| parent | e99a03c6f50a699d63b5751e3e88f84e43b037a7 (diff) | |
| parent | d2d0395fd1778d4bf714adc5bfd23a5d748d7802 (diff) | |
Merge branch 'for-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jeffm/linux-reiserfs into for_next_testing
Reiserfs locking fixes.
Diffstat (limited to 'include/uapi/linux/usb')
| -rw-r--r-- | include/uapi/linux/usb/ch11.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/ch11.h b/include/uapi/linux/usb/ch11.h index 7692dc69ccf7..331499d597fa 100644 --- a/include/uapi/linux/usb/ch11.h +++ b/include/uapi/linux/usb/ch11.h @@ -11,6 +11,17 @@ #include <linux/types.h> /* __u8 etc */ +/* This is arbitrary. + * From USB 2.0 spec Table 11-13, offset 7, a hub can + * have up to 255 ports. The most yet reported is 10. + * + * Current Wireless USB host hardware (Intel i1480 for example) allows + * up to 22 devices to connect. Upcoming hardware might raise that + * limit. Because the arrays need to add a bit for hub status data, we + * use 31, so plus one evens out to four bytes. + */ +#define USB_MAXCHILDREN 31 + /* * Hub request types */ |
