summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-05 17:59:53 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2009-10-05 17:59:53 +0000
commitd7576cf9b64190f0aa29e9eacc956eb582c284eb (patch)
treeb2165dbd7ef222e0cef705171712fc3920f61a7e
parente3d7cceb9997c28eb0f8ab906564c4a6bdc645a9 (diff)
downloadedk2-d7576cf9b64190f0aa29e9eacc956eb582c284eb.tar.gz
edk2-d7576cf9b64190f0aa29e9eacc956eb582c284eb.tar.bz2
edk2-d7576cf9b64190f0aa29e9eacc956eb582c284eb.zip
MdeModulePkg-UsbBusDxe: Add work around for slower USB hubs/devices
Increase the value of USB_GENERAL_DEVICE_REQUEST_TIMEOUT from 50 milliseconds to 100 milliseconds. This provides a work around for slower USB hubs and devices. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9330 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
index 8b6babb08e..638be9988b 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
@@ -109,10 +109,13 @@ typedef enum {
USB_SET_ROOT_PORT_ENABLE_STALL = 20 * USB_BUS_1_MILLISECOND,
//
- // Send general device request timeout, refers to
- // specification[USB20-11.24.1]
+ // Send general device request timeout.
+ //
+ // The USB Specification 2.0, section 11.24.1 recommends a value of
+ // 50 milliseconds. We use a value of 100 milliseconds to work
+ // around slower hubs and devices.
//
- USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 50,
+ USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 100,
//
// Send clear feature request timeout, set by experience