\r
\r
/**\r
- This routine calls undi to create the meadia header for the given data buffer.\r
+ Call UNDI to create the meadia header for the given data buffer.\r
\r
- @param Snp pointer to SNP driver structure\r
- @param MacHeaderPtr address where the media header will be filled in.\r
- @param HeaderSize size of the memory at MacHeaderPtr\r
- @param Buffer data buffer pointer\r
- @param BufferSize Size of data in the Buffer\r
- @param DestAddr address of the destination mac address buffer\r
- @param SrcAddr address of the source mac address buffer\r
- @param ProtocolPtr address of the protocol type\r
+ @param Snp Pointer to SNP driver structure.\r
+ @param MacHeaderPtr Address where the media header will be filled in.\r
+ @param HeaderSize Size of the memory at MacHeaderPtr.\r
+ @param Buffer Data buffer pointer.\r
+ @param BufferSize Size of data in the Buffer\r
+ @param DestAddr Address of the destination mac address buffer.\r
+ @param SrcAddr Address of the source mac address buffer.\r
+ @param ProtocolPtr Address of the protocol type.\r
\r
- @retval EFI_SUCCESS if successfully completed the undi call\r
- @retval Other error return from undi call.\r
+ @retval EFI_SUCCESS Successfully completed the undi call.\r
+ @retval Other Error return from undi call.\r
\r
**/\r
EFI_STATUS\r
//\r
// Issue UNDI command and check result.\r
//\r
- DEBUG ((EFI_D_NET, "\nSnp->undi.fill_header() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->undi.fill_header() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64) (UINTN) &Snp->Cdb);\r
\r
//\r
// Issue UNDI command and check result.\r
//\r
- DEBUG ((EFI_D_NET, "\nSnp->undi.transmit() "));\r
- DEBUG ((EFI_D_NET, "\nSnp->Cdb.OpCode == %x", Snp->Cdb.OpCode));\r
- DEBUG ((EFI_D_NET, "\nSnp->Cdb.CPBaddr == %LX", Snp->Cdb.CPBaddr));\r
- DEBUG ((EFI_D_NET, "\nSnp->Cdb.DBaddr == %LX", Snp->Cdb.DBaddr));\r
- DEBUG ((EFI_D_NET, "\nCpb->FrameAddr == %LX\n", Cpb->FrameAddr));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->undi.transmit() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->Cdb.OpCode == %x", Snp->Cdb.OpCode));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->Cdb.CPBaddr == %LX", Snp->Cdb.CPBaddr));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->Cdb.DBaddr == %LX", Snp->Cdb.DBaddr));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nCpb->FrameAddr == %LX\n", Cpb->FrameAddr));\r
\r
(*Snp->IssueUndi32Command) ((UINT64) (UINTN) &Snp->Cdb);\r
\r
- DEBUG ((EFI_D_NET, "\nexit Snp->undi.transmit() "));\r
- DEBUG ((EFI_D_NET, "\nSnp->Cdb.StatCode == %r", Snp->Cdb.StatCode));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nexit Snp->undi.transmit() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nSnp->Cdb.StatCode == %r", Snp->Cdb.StatCode));\r
\r
//\r
// we will unmap the buffers in get_status call, not here\r