diff options
author | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-19 01:41:43 +0000 |
---|---|---|
committer | eric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-19 01:41:43 +0000 |
commit | 9420fc148a3a7c4db2904f7aa8c129e3aadab22e (patch) | |
tree | 6f720fd7190849454cacae3eea6735a8f1e08823 /MdeModulePkg | |
parent | 32304af268b7dfcee07de4fc7d18e801f8d4c981 (diff) | |
download | edk2-9420fc148a3a7c4db2904f7aa8c129e3aadab22e.tar.gz edk2-9420fc148a3a7c4db2904f7aa8c129e3aadab22e.tar.bz2 edk2-9420fc148a3a7c4db2904f7aa8c129e3aadab22e.zip |
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 2 | ||||
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h index 2af722df4f..006632f631 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h +++ b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h @@ -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;
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h index 3cdcdaa314..3ebafb00ed 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h @@ -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;
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h index 872f6cef9a..8b6babb08e 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h @@ -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;
//
|