diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-25 07:59:45 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-25 07:59:45 +0000 |
commit | 68246fa809e4a8ab61ce7bbfdd1a0b31d03e83fb (patch) | |
tree | 0725e1e638d299d3e103eebbe622bd740bb5ef43 /MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | |
parent | c9a0a0fcf18a9b99fb3522ad0a775fffc32c0e71 (diff) | |
download | edk2-platforms-68246fa809e4a8ab61ce7bbfdd1a0b31d03e83fb.tar.xz |
Save original PCI attributes in start() function and restore it in Stop() for those PCI device drivers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4212 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h')
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/Uhci.h | 11 |
1 files changed, 6 insertions, 5 deletions
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
|