]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/UhciDxe: Update async polling interval to 1ms.
authorTian Feng <feng.tian@intel.com>
Tue, 9 Jun 2015 03:21:57 +0000 (03:21 +0000)
committererictian <erictian@Edk2>
Tue, 9 Jun 2015 03:21:57 +0000 (03:21 +0000)
Updating the async polling interval from 50ms to 1ms for better performance.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tian Feng <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17587 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h

index 64ee6009650aef8fdaa72ea1a2d6ef416d24e172..8635d8231c5bd3fb269016a17069b470ac194987 100644 (file)
@@ -2,7 +2,7 @@
 \r
   The definition for UHCI driver model and HC protocol routines.\r
 \r
-Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -78,7 +78,7 @@ typedef struct _USB_HC_DEV  USB_HC_DEV;
 // and the unit of Async is 100us.\r
 //\r
 #define UHC_SYNC_POLL_INTERVAL        (1 * UHC_1_MILLISECOND)\r
-#define UHC_ASYNC_POLL_INTERVAL       (50 * 10000UL)\r
+#define UHC_ASYNC_POLL_INTERVAL       EFI_TIMER_PERIOD_MILLISECONDS(1)\r
 \r
 //\r
 // UHC raises TPL to TPL_NOTIFY to serialize all its operations\r