diff options
author | Star Zeng <star.zeng@intel.com> | 2014-07-04 03:30:46 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-04 03:30:46 +0000 |
commit | e1f2dfec3483e276d267f5ca3540c1505d631c60 (patch) | |
tree | 8e41d658e66f2a29c67e56006e529b8807aed005 /MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | |
parent | 8acb3f7b54ec6ebf9c01b8c570f5ec0c7530be80 (diff) | |
download | edk2-platforms-e1f2dfec3483e276d267f5ca3540c1505d631c60.tar.xz |
MdeModulePkg XhciDxe: XHCI multiple interface alternate setting support.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15617 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h')
-rw-r--r-- | MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h index 1eb0d0e176..729a8c0dd5 100644 --- a/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h +++ b/MdeModulePkg/Bus/Pci/XhciDxe/Xhci.h @@ -2,7 +2,7 @@ Provides some data structure definitions used by the XHCI host controller driver.
-Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -196,6 +196,14 @@ struct _USB_DEV_CONTEXT { // These information is used to support XHCI's Config_Endpoint cmd.
//
EFI_USB_CONFIG_DESCRIPTOR **ConfDesc;
+ //
+ // A device has an active Configuration.
+ //
+ UINT8 ActiveConfiguration;
+ //
+ // Every interface has an active AlternateSetting.
+ //
+ UINT8 *ActiveAlternateSetting;
};
struct _USB_XHCI_INSTANCE {
|