]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h
MdeModulePkg-UsbBusDxe: Add work around for slower USB hubs/devices
[mirror_edk2.git] / 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