mirror of https://github.com/acidanthera/audk.git
modify the incorrect timeout value definitions in Usb driver
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9117 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
32304af268
commit
9420fc148a
|
@ -64,7 +64,7 @@ typedef enum {
|
|||
// Sync and Async transfer polling interval, set by experience,
|
||||
// and the unit of Async is 100us, means 50ms as interval.
|
||||
//
|
||||
EHC_SYNC_POLL_INTERVAL = 20 * EHC_1_MICROSECOND,
|
||||
EHC_SYNC_POLL_INTERVAL = 1 * EHC_1_MILLISECOND,
|
||||
EHC_ASYNC_POLL_INTERVAL = 50 * 10000U
|
||||
} EHC_TIMEOUT_EXPERIENCE_VALUE;
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ typedef enum {
|
|||
// Sync and Async transfer polling interval, set by experience,
|
||||
// and the unit of Async is 100us.
|
||||
//
|
||||
UHC_SYNC_POLL_INTERVAL = 50 * UHC_1_MICROSECOND,
|
||||
UHC_SYNC_POLL_INTERVAL = 1 * UHC_1_MILLISECOND,
|
||||
UHC_ASYNC_POLL_INTERVAL = 50 * 10000UL
|
||||
}UHC_TIMEOUT_EXPERIENCE_VALUE;
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ typedef enum {
|
|||
//
|
||||
// Wait for clear roothub port reset, set by experience
|
||||
//
|
||||
USB_CLR_ROOT_PORT_RESET_STALL = 1 * USB_BUS_1_MILLISECOND,
|
||||
USB_CLR_ROOT_PORT_RESET_STALL = 20 * USB_BUS_1_MILLISECOND,
|
||||
|
||||
//
|
||||
// Wait for set roothub port enable, set by experience
|
||||
|
@ -112,12 +112,12 @@ typedef enum {
|
|||
// Send general device request timeout, refers to
|
||||
// specification[USB20-11.24.1]
|
||||
//
|
||||
USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 50 * USB_BUS_1_MILLISECOND,
|
||||
USB_GENERAL_DEVICE_REQUEST_TIMEOUT = 50,
|
||||
|
||||
//
|
||||
// Send clear feature request timeout, set by experience
|
||||
//
|
||||
USB_CLEAR_FEATURE_REQUEST_TIMEOUT = 10 * USB_BUS_1_MILLISECOND
|
||||
USB_CLEAR_FEATURE_REQUEST_TIMEOUT = 10
|
||||
}USB_BUS_TIMEOUT_EXPERIENCE_VALUE;
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue