]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg-UsbBusDxe: Add work around for slower USB hubs/devices
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 5 Oct 2009 17:59:53 +0000 (17:59 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 5 Oct 2009 17:59:53 +0000 (17:59 +0000)
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

MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h

index 8b6babb08e6a26da9000b6a3939cb4f1a5530ce9..638be9988bb3b7dbe96b705a11a7cc5091c350ad 100644 (file)
@@ -109,10 +109,13 @@ typedef enum {
   USB_SET_ROOT_PORT_ENABLE_STALL = 20 * USB_BUS_1_MILLISECOND,\r
 \r
   //\r
-  // Send general device request timeout, refers to\r
-  // specification[USB20-11.24.1]\r
+  // Send general device request timeout.\r
+  // \r
+  // The USB Specification 2.0, section 11.24.1 recommends a value of\r
+  // 50 milliseconds.  We use a value of 100 milliseconds to work\r
+  // around slower hubs and devices.\r
   //\r
-  USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 50,\r
+  USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 100,\r
 \r
   //\r
   // Send clear feature request timeout, set by experience\r