]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/UhciDxe/UhciSched.c
MdeModulePkg: Change use of EFI_D_* to DEBUG_*
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / UhciDxe / UhciSched.c
index 12afbec852c049a4d0fcace876138728f06e613b..0829bc2a8c889b72a38fa102cb43757468c7b999 100644 (file)
@@ -513,7 +513,7 @@ UhciCheckTdStatus (
       // terminate the transfer\r
       //\r
       if (!IsLow && (TdHw->ShortPacket == 1) && (Len < Td->DataLen)) {\r
-        DEBUG ((EFI_D_VERBOSE, "UhciCheckTdStatus: short packet read occured\n"));\r
+        DEBUG ((DEBUG_VERBOSE, "UhciCheckTdStatus: short packet read occurred\n"));\r
 \r
         Finished = TRUE;\r
         goto ON_EXIT;\r
@@ -590,7 +590,7 @@ UhciExecuteTransfer (
     Finished = UhciCheckTdStatus (Uhc, Td, IsLow, QhResult);\r
 \r
     //\r
-    // Transfer is OK or some error occured (TD inactive)\r
+    // Transfer is OK or some error occurred (TD inactive)\r
     //\r
     if (Finished) {\r
       break;\r
@@ -600,14 +600,14 @@ UhciExecuteTransfer (
   }\r
 \r
   if (!Finished) {\r
-    DEBUG ((EFI_D_ERROR, "UhciExecuteTransfer: execution not finished for %dms\n", (UINT32)TimeOut));\r
+    DEBUG ((DEBUG_ERROR, "UhciExecuteTransfer: execution not finished for %dms\n", (UINT32)TimeOut));\r
     UhciDumpQh (Qh);\r
     UhciDumpTds (Td);\r
 \r
     Status = EFI_TIMEOUT;\r
 \r
   } else if (QhResult->Result != EFI_USB_NOERROR) {\r
-    DEBUG ((EFI_D_ERROR, "UhciExecuteTransfer: execution failed with result %x\n", QhResult->Result));\r
+    DEBUG ((DEBUG_ERROR, "UhciExecuteTransfer: execution failed with result %x\n", QhResult->Result));\r
     UhciDumpQh (Qh);\r
     UhciDumpTds (Td);\r
 \r