summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-19 01:41:43 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-19 01:41:43 +0000
commit9420fc148a3a7c4db2904f7aa8c129e3aadab22e (patch)
tree6f720fd7190849454cacae3eea6735a8f1e08823 /MdeModulePkg/Bus/Pci
parent32304af268b7dfcee07de4fc7d18e801f8d4c981 (diff)
downloadedk2-platforms-9420fc148a3a7c4db2904f7aa8c129e3aadab22e.tar.xz
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/Bus/Pci')
-rw-r--r--MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h2
-rw-r--r--MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h2
2 files changed, 2 insertions, 2 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;