mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Enlarge timeout value to wait set_address request success for large capacity usb hard disk
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Li Elvin <elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13227 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
09943f5ecc
commit
20142bd6da
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Usb Bus Driver Binding and Bus IO Protocol.
|
Usb Bus Driver Binding and Bus IO Protocol.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -116,10 +116,10 @@ typedef struct _USB_HUB_API USB_HUB_API;
|
||||||
// Send general device request timeout.
|
// Send general device request timeout.
|
||||||
//
|
//
|
||||||
// The USB Specification 2.0, section 11.24.1 recommends a value of
|
// The USB Specification 2.0, section 11.24.1 recommends a value of
|
||||||
// 50 milliseconds. We use a value of 100 milliseconds to work
|
// 50 milliseconds. We use a value of 500 milliseconds to work
|
||||||
// around slower hubs and devices.
|
// around slower hubs and devices.
|
||||||
//
|
//
|
||||||
#define USB_GENERAL_DEVICE_REQUEST_TIMEOUT 100
|
#define USB_GENERAL_DEVICE_REQUEST_TIMEOUT 500
|
||||||
|
|
||||||
//
|
//
|
||||||
// Send clear feature request timeout, set by experience
|
// Send clear feature request timeout, set by experience
|
||||||
|
|
Loading…
Reference in New Issue