From 9420fc148a3a7c4db2904f7aa8c129e3aadab22e Mon Sep 17 00:00:00 2001 From: eric_tian Date: Wed, 19 Aug 2009 01:41:43 +0000 Subject: 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 --- MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h | 2 +- MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 2 +- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.h | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'MdeModulePkg/Bus') diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h b/MdeModulePkg/Bus/Pci/EhciDxe/Ehci.h index 2af722d..006632f 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 3cdcdaa..3ebafb0 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 872f6ce..8b6babb 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; // -- cgit v1.1