X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FPci%2FEhciDxe%2FEhciReg.c;h=b40b0115e9438c863faf40a01460f8275b49a771;hp=45b6df5c830a7035e57b75c7196f8d0595d14270;hb=1c61953576f35507eb24032fe2804eaf9a0e976c;hpb=d1f076304d3be2f1423ba8d62062253cb0d59354 diff --git a/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c b/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c index 45b6df5c83..b40b0115e9 100644 --- a/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c +++ b/MdeModulePkg/Bus/Pci/EhciDxe/EhciReg.c @@ -54,7 +54,7 @@ EhcReadCapRegister ( ); if (EFI_ERROR (Status)) { - EHC_ERROR (("EhcReadCapRegister: Pci Io read error - %r at %d\n", Status, Offset)); + DEBUG ((EFI_D_ERROR, "EhcReadCapRegister: Pci Io read error - %r at %d\n", Status, Offset)); Data = 0xFFFF; } @@ -92,7 +92,7 @@ EhcReadOpReg ( ); if (EFI_ERROR (Status)) { - EHC_ERROR (("EhcReadOpReg: Pci Io Read error - %r at %d\n", Status, Offset)); + DEBUG ((EFI_D_ERROR, "EhcReadOpReg: Pci Io Read error - %r at %d\n", Status, Offset)); Data = 0xFFFF; } @@ -131,7 +131,7 @@ EhcWriteOpReg ( ); if (EFI_ERROR (Status)) { - EHC_ERROR (("EhcWriteOpReg: Pci Io Write error: %r at %d\n", Status, Offset)); + DEBUG ((EFI_D_ERROR, "EhcWriteOpReg: Pci Io Write error: %r at %d\n", Status, Offset)); } } @@ -245,7 +245,7 @@ EhcClearLegacySupport ( UINT32 Value; UINT32 TimeOut; - EHC_DEBUG (("EhcClearLegacySupport: called to clear legacy support\n")); + DEBUG ((EFI_D_INFO, "EhcClearLegacySupport: called to clear legacy support\n")); PciIo = Ehc->PciIo; ExtendCap = (Ehc->HcCapParams >> 8) & 0xFF; @@ -622,14 +622,14 @@ EhcInitHC ( Status = EhcEnablePeriodSchd (Ehc, EHC_GENERIC_TIMEOUT); if (EFI_ERROR (Status)) { - EHC_ERROR (("EhcInitHC: failed to enable period schedule\n")); + DEBUG ((EFI_D_ERROR, "EhcInitHC: failed to enable period schedule\n")); return Status; } Status = EhcEnableAsyncSchd (Ehc, EHC_GENERIC_TIMEOUT); if (EFI_ERROR (Status)) { - EHC_ERROR (("EhcInitHC: failed to enable async schedule\n")); + DEBUG ((EFI_D_ERROR, "EhcInitHC: failed to enable async schedule\n")); return Status; }