\r
\r
/**\r
- this routine calls undi to read the MAC address of the NIC and updates the\r
- mode structure with the address.\r
+ Call UNDI to read the MAC address of the NIC and update the mode structure \r
+ with the address. \r
\r
- @param Snp pointer to snp driver structure.\r
+ @param Snp Pointer to snp driver structure.\r
\r
- @retval EFI_SUCCESS the MAC address of the NIC is read successfully.\r
- @retval EFI_DEVICE_ERROR failed to read the MAC address of the NIC.\r
+ @retval EFI_SUCCESS The MAC address of the NIC is read successfully.\r
+ @retval EFI_DEVICE_ERROR Failed to read the MAC address of the NIC.\r
\r
**/\r
EFI_STATUS\r
//\r
// Issue UNDI command and check result.\r
//\r
- DEBUG ((EFI_D_NET, "\nsnp->undi.station_addr() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nsnp->undi.station_addr() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
\r
\r
/**\r
- this routine calls undi to set a new MAC address for the NIC,\r
+ Call UNDI to set a new MAC address for the NIC.\r
\r
- @param Snp pointer to Snp driver structure\r
- @param NewMacAddr pointer to a mac address to be set for the nic, if this is\r
+ @param Snp Pointer to Snp driver structure.\r
+ @param NewMacAddr Pointer to a MAC address to be set for the NIC, if this is\r
NULL then this routine resets the mac address to the NIC's\r
original address.\r
\r
//\r
// Issue UNDI command and check result.\r
//\r
- DEBUG ((EFI_D_NET, "\nsnp->undi.station_addr() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nsnp->undi.station_addr() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r