// Check to see if !PXE structure is valid. Paragraph alignment of !PXE structure is required.\r
//\r
if (NiiProtocol->ID & 0x0F) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE structure is not paragraph aligned.\n"));\r
+ DEBUG ((EFI_D_NET, "\n!PXE structure is not paragraph aligned.\n"));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
}\r
// Verify !PXE revisions.\r
//\r
if (Pxe->hw.Signature != PXE_ROMID_SIGNATURE) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE signature is not valid.\n"));\r
+ DEBUG ((EFI_D_NET, "\n!PXE signature is not valid.\n"));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
}\r
\r
if (Pxe->hw.Rev < PXE_ROMID_REV) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE.Rev is not supported.\n"));\r
+ DEBUG ((EFI_D_NET, "\n!PXE.Rev is not supported.\n"));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
}\r
\r
if (Pxe->hw.MajorVer < PXE_ROMID_MAJORVER) {\r
\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE.MajorVer is not supported.\n"));\r
+ DEBUG ((EFI_D_NET, "\n!PXE.MajorVer is not supported.\n"));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
\r
} else if (Pxe->hw.MajorVer == PXE_ROMID_MAJORVER && Pxe->hw.MinorVer < PXE_ROMID_MINORVER) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE.MinorVer is not supported."));\r
+ DEBUG ((EFI_D_NET, "\n!PXE.MinorVer is not supported."));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
}\r
//\r
if ((Pxe->hw.Implementation & PXE_ROMID_IMP_HW_UNDI) == 0) {\r
if (Pxe->sw.EntryPoint < Pxe->sw.Len) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE S/W entry point is not valid."));\r
+ DEBUG ((EFI_D_NET, "\n!PXE S/W entry point is not valid."));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
}\r
\r
if (Pxe->sw.BusCnt == 0) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE.BusCnt is zero."));\r
+ DEBUG ((EFI_D_NET, "\n!PXE.BusCnt is zero."));\r
Status = EFI_UNSUPPORTED;\r
goto Done;\r
}\r
UINT8 BarIndex;\r
PXE_STATFLAGS InitStatFlags;\r
\r
- DEBUG ((EFI_D_INFO, "\nSnpNotifyNetworkInterfaceIdentifier() "));\r
+ DEBUG ((EFI_D_NET, "\nSnpNotifyNetworkInterfaceIdentifier() "));\r
\r
Status = gBS->OpenProtocol (\r
Controller,\r
Pxe = (PXE_UNDI *) (UINTN) (Nii->ID);\r
\r
if (Calc8BitCksum (Pxe, Pxe->hw.Len) != 0) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\n!PXE checksum is not correct.\n"));\r
+ DEBUG ((EFI_D_NET, "\n!PXE checksum is not correct.\n"));\r
goto NiiError;\r
}\r
\r
// broadcast support or we cannot do DHCP!\r
//\r
} else {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\nUNDI does not have promiscuous or broadcast support."));\r
+ DEBUG ((EFI_D_NET, "\nUNDI does not have promiscuous or broadcast support."));\r
goto NiiError;\r
}\r
//\r
);\r
\r
if (Status != EFI_SUCCESS) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\nCould not allocate SNP_DRIVER structure.\n"));\r
+ DEBUG ((EFI_D_NET, "\nCould not allocate SNP_DRIVER structure.\n"));\r
goto NiiError;\r
}\r
\r
);\r
\r
if (Status != EFI_SUCCESS) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\nCould not allocate CPB and DB structures.\n"));\r
+ DEBUG ((EFI_D_NET, "\nCould not allocate CPB and DB structures.\n"));\r
goto Error_DeleteSNP;\r
}\r
\r
Snp->Cdb.IFnum = Snp->IfNum;\r
Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST;\r
\r
- DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->undi.get_init_info() "));\r
+ DEBUG ((EFI_D_NET, "\nSnp->undi.get_init_info() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
InitStatFlags = Snp->Cdb.StatFlags;\r
\r
if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\nSnp->undi.init_info() %xh:%xh\n", Snp->Cdb.StatFlags, Snp->Cdb.StatCode));\r
+ DEBUG ((EFI_D_NET, "\nSnp->undi.init_info() %xh:%xh\n", Snp->Cdb.StatFlags, Snp->Cdb.StatCode));\r
PxeStop (Snp);\r
goto Error_DeleteSNP;\r
}\r
Snp->Cdb.IFnum = Snp->IfNum;\r
Snp->Cdb.Control = PXE_CONTROL_LAST_CDB_IN_LIST;\r
\r
- DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->undi.get_config_info() "));\r
+ DEBUG ((EFI_D_NET, "\nSnp->undi.get_config_info() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
- DEBUG ((EFI_D_ERROR | EFI_D_NET, "\nSnp->undi.config_info() %xh:%xh\n", Snp->Cdb.StatFlags, Snp->Cdb.StatCode));\r
+ DEBUG ((EFI_D_NET, "\nSnp->undi.config_info() %xh:%xh\n", Snp->Cdb.StatFlags, Snp->Cdb.StatCode));\r
PxeStop (Snp);\r
goto Error_DeleteSNP;\r
}\r