USB: hub.c: Add initial_descriptor_timeout module parameter for usbcore
authorJaroslav Kysela <perex@perex.cz>
Fri, 10 Oct 2008 14:24:45 +0000 (16:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:04 +0000 (14:41 -0700)
commitfd7c519dd40a0d561280bb797386143fb2026949
tree2ccb79aceee02dc862060e67046cc50c0767a423
parent49e7cc84a86784ef2ab4e651f1824093be8f5b2b
USB: hub.c: Add initial_descriptor_timeout module parameter for usbcore

This patch adds initial_descriptor_timeout module parameter for usbcore.ko
to allow modify initial 64-byte USB_REQ_GET_DESCRIPTOR timeout for
non-standard devices.

For example, the SATA8000 device from DATAST0R Technology Corp
requires about 10 seconds to send reply (probably it waits until
inserted disk is ready for operation).

Also, this patch adds missing usbcore parameters to
Documentation/kernel-parameters.txt.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/kernel-parameters.txt
drivers/usb/core/hub.c