X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FUhciDxe%2FUhci.h;h=e47679515b86833f5939d218d3c9aba27046b8e0;hp=cd92f6dd848b7e3b1318e37e1ae2467375301575;hb=68246fa809e4a8ab61ce7bbfdd1a0b31d03e83fb;hpb=c9a0a0fcf18a9b99fb3522ad0a775fffc32c0e71 diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h index cd92f6dd84..e47679515b 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h +++ b/MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h @@ -59,28 +59,28 @@ enum { // UHCI register operation timeout, set by experience // UHC_GENERIC_TIMEOUT = UHC_1_SECOND, - + // // Wait for force global resume(FGR) complete, refers to // specification[UHCI11-2.1.1] - // + // UHC_FORCE_GLOBAL_RESUME_STALL = 20 * UHC_1_MILLISECOND, // // Wait for roothub port reset and recovery, reset stall - // is set by experience, and recovery stall refers to + // is set by experience, and recovery stall refers to // specification[UHCI11-2.1.1] // UHC_ROOT_PORT_RESET_STALL = 50 * UHC_1_MILLISECOND, UHC_ROOT_PORT_RECOVERY_STALL = 10 * UHC_1_MILLISECOND, // - // Sync and Async transfer polling interval, set by experience, + // 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_ASYNC_POLL_INTERVAL = 50 * 10000UL, - + // // UHC raises TPL to TPL_NOTIFY to serialize all its operations // to protect shared data structures. @@ -117,6 +117,7 @@ struct _USB_HC_DEV { EFI_USB_HC_PROTOCOL UsbHc; EFI_USB2_HC_PROTOCOL Usb2Hc; EFI_PCI_IO_PROTOCOL *PciIo; + UINT64 OriginalPciAttributes; // // Schedule data structures