1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().
2. Use DEBUG () to replace some native debug function in USB stack modules. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4689 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -320,7 +320,7 @@ Uhci2GetCapability (
|
||||
|
||||
Uhc->RootPorts = *PortNumber;
|
||||
|
||||
UHCI_DEBUG (("Uhci2GetCapability: %d ports\n", Uhc->RootPorts));
|
||||
DEBUG ((EFI_D_INFO, "Uhci2GetCapability: %d ports\n", Uhc->RootPorts));
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
@ -376,7 +376,7 @@ Uhci2GetRootHubPortStatus (
|
||||
}
|
||||
|
||||
if (PortSC & USBPORTSC_SUSP) {
|
||||
UHCI_DEBUG (("Uhci2GetRootHubPortStatus: port %d is suspended\n", PortNumber));
|
||||
DEBUG ((EFI_D_INFO, "Uhci2GetRootHubPortStatus: port %d is suspended\n", PortNumber));
|
||||
PortStatus->PortStatus |= USB_PORT_STAT_SUSPEND;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user