]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c
1. Added EFI_MEDIA_CHANGED and EFI_INVALID_PARAMETER returns in UsbMassReadBlocks().
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / EhciDxe / EhciReg.c
index 45b6df5c830a7035e57b75c7196f8d0595d14270..b40b0115e9438c863faf40a01460f8275b49a771 100644 (file)
@@ -54,7 +54,7 @@ EhcReadCapRegister (
                              );\r
 \r
   if (EFI_ERROR (Status)) {\r
-    EHC_ERROR (("EhcReadCapRegister: Pci Io read error - %r at %d\n", Status, Offset));\r
+    DEBUG ((EFI_D_ERROR, "EhcReadCapRegister: Pci Io read error - %r at %d\n", Status, Offset));\r
     Data = 0xFFFF;\r
   }\r
 \r
@@ -92,7 +92,7 @@ EhcReadOpReg (
                              );\r
 \r
   if (EFI_ERROR (Status)) {\r
-    EHC_ERROR (("EhcReadOpReg: Pci Io Read error - %r at %d\n", Status, Offset));\r
+    DEBUG ((EFI_D_ERROR, "EhcReadOpReg: Pci Io Read error - %r at %d\n", Status, Offset));\r
     Data = 0xFFFF;\r
   }\r
 \r
@@ -131,7 +131,7 @@ EhcWriteOpReg (
                              );\r
 \r
   if (EFI_ERROR (Status)) {\r
-    EHC_ERROR (("EhcWriteOpReg: Pci Io Write error: %r at %d\n", Status, Offset));\r
+    DEBUG ((EFI_D_ERROR, "EhcWriteOpReg: Pci Io Write error: %r at %d\n", Status, Offset));\r
   }\r
 }\r
 \r
@@ -245,7 +245,7 @@ EhcClearLegacySupport (
   UINT32                    Value;\r
   UINT32                    TimeOut;\r
 \r
-  EHC_DEBUG (("EhcClearLegacySupport: called to clear legacy support\n"));\r
+  DEBUG ((EFI_D_INFO, "EhcClearLegacySupport: called to clear legacy support\n"));\r
 \r
   PciIo     = Ehc->PciIo;\r
   ExtendCap = (Ehc->HcCapParams >> 8) & 0xFF;\r
@@ -622,14 +622,14 @@ EhcInitHC (
   Status = EhcEnablePeriodSchd (Ehc, EHC_GENERIC_TIMEOUT);\r
 \r
   if (EFI_ERROR (Status)) {\r
-    EHC_ERROR (("EhcInitHC: failed to enable period schedule\n"));\r
+    DEBUG ((EFI_D_ERROR, "EhcInitHC: failed to enable period schedule\n"));\r
     return Status;\r
   }\r
 \r
   Status = EhcEnableAsyncSchd (Ehc, EHC_GENERIC_TIMEOUT);\r
 \r
   if (EFI_ERROR (Status)) {\r
-    EHC_ERROR (("EhcInitHC: failed to enable async schedule\n"));\r
+    DEBUG ((EFI_D_ERROR, "EhcInitHC: failed to enable async schedule\n"));\r
     return Status;\r
   }\r
 \r