diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-01-23 09:41:04 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-01-23 09:41:04 +0000 |
commit | ea5632e56d882e39ae60e8de85711298f627b9e5 (patch) | |
tree | 12de168f2c93da4506b5c96eb841d6424c38f56e /MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c | |
parent | 7113867d543baabb3f0cb0ea42ec735ab9410fb0 (diff) | |
download | edk2-platforms-ea5632e56d882e39ae60e8de85711298f627b9e5.tar.xz |
1. Remove USB HC Protocol installing from Uhci module. It only installs USB2 HC protocol.
2. Restore Incompatible Pci Device Support Protocol in PciBus module.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4617 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c')
-rw-r--r-- | MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c b/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c index 8bb0f2b19a..9c632a60fc 100644 --- a/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c +++ b/MdeModulePkg/Bus/Pci/UhciDxe/UhciReg.c @@ -168,7 +168,7 @@ UhciAckAllInterrupt ( //
if (!UhciIsHcWorking (Uhc->PciIo)) {
UHCI_ERROR (("UhciAckAllInterrupt: re-enable the UHCI from system error\n"));
- Uhc->UsbHc.SetState (&Uhc->UsbHc, EfiUsbHcStateOperational);
+ Uhc->Usb2Hc.SetState (&Uhc->Usb2Hc, EfiUsbHcStateOperational);
}
}
@@ -186,8 +186,8 @@ UhciAckAllInterrupt ( **/
EFI_STATUS
UhciStopHc (
- IN USB_HC_DEV *Uhc,
- IN UINTN Timeout
+ IN USB_HC_DEV *Uhc,
+ IN UINTN Timeout
)
{
UINT16 UsbSts;
|