MdeModulePkg XhciPei/UsbBusPei: Add XHCI recovery 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@15611 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -105,7 +105,7 @@ PeiUsbControlTransfer (
|
||||
PeiUsbDev->UsbHcPpi,
|
||||
PeiUsbDev->DeviceAddress,
|
||||
PeiUsbDev->DeviceSpeed,
|
||||
PeiUsbDev->MaxPacketSize0,
|
||||
(UINT8) PeiUsbDev->MaxPacketSize0,
|
||||
Request,
|
||||
Direction,
|
||||
Data,
|
||||
@@ -126,6 +126,7 @@ PeiUsbControlTransfer (
|
||||
}
|
||||
}
|
||||
|
||||
DEBUG ((EFI_D_INFO, "PeiUsbControlTransfer: %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
|
||||
@@ -238,6 +239,7 @@ PeiUsbBulkTransfer (
|
||||
PeiUsbDev->DataToggle = (UINT16) (PeiUsbDev->DataToggle ^ (1 << EndpointIndex));
|
||||
}
|
||||
|
||||
DEBUG ((EFI_D_INFO, "PeiUsbBulkTransfer: %r\n", Status));
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user