if (EFI_ERROR (Status)) {\r
DEBUG ((\r
DEBUG_ERROR,\r
- "UsbIoPortReset: failed to reset hub port %d@hub %d, %r \n",\r
+ "UsbIoPortReset: failed to reset hub port %d@hub %d - %r\n",\r
Dev->ParentPort,\r
Dev->ParentAddr,\r
Status\r
);\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to open device path %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to open device path - %r\n", Status));\r
\r
FreePool (UsbBus);\r
return Status;\r
);\r
\r
if (EFI_ERROR (Status) && EFI_ERROR (Status2)) {\r
- DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to open USB_HC/USB2_HC %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to open USB_HC/USB2_HC - %r\n", Status));\r
\r
Status = EFI_DEVICE_ERROR;\r
goto CLOSE_HC;\r
);\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to install bus protocol %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to install bus protocol - %r\n", Status));\r
goto CLOSE_HC;\r
}\r
\r
Status = mUsbRootHubApi.Init (RootIf);\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to init root hub %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to init root hub - %r\n", Status));\r
goto FREE_ROOTHUB;\r
}\r
\r
);\r
FreePool (UsbBus);\r
\r
- DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to start bus driver %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbBusStart: Failed to start bus driver - %r\n", Status));\r
return Status;\r
}\r
\r
if (EFI_ERROR (Status)) {\r
DEBUG ((\r
DEBUG_ERROR,\r
- "UsbGetOneConfig: failed to get descript length(%d) %r\n",\r
+ "UsbGetOneConfig: failed to get descript length(%d) - %r\n",\r
Desc.TotalLength,\r
Status\r
));\r
Status = UsbCtrlGetDesc (UsbDev, USB_DESC_TYPE_CONFIG, Index, 0, Buf, Desc.TotalLength);\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "UsbGetOneConfig: failed to get full descript %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbGetOneConfig: failed to get full descript - %r\n", Status));\r
\r
FreePool (Buf);\r
return NULL;\r
Status = UsbBuildLangTable (UsbDev);\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_INFO, "UsbBuildDescTable: get language ID table %r\n", Status));\r
+ DEBUG ((DEBUG_INFO, "UsbBuildDescTable: get language ID table - %r\n", Status));\r
}\r
\r
return EFI_SUCCESS;\r
Status = UsbHubReadDesc (HubDev, HubDesc);\r
\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((DEBUG_ERROR, "UsbHubInit: failed to read HUB descriptor %r\n", Status));\r
+ DEBUG ((DEBUG_ERROR, "UsbHubInit: failed to read HUB descriptor - %r\n", Status));\r
return Status;\r
}\r
\r