]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/SnpDxe/Station_address.c
1). Fix the debug level for DEBUG macro
[mirror_edk2.git] / MdeModulePkg / Universal / Network / SnpDxe / Station_address.c
index 07df584a07cb88c998ac50425867f9f3b62da59b..42792c26e148e70e1b1e3afdcc406d14961aba60 100644 (file)
@@ -16,13 +16,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \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
@@ -50,7 +50,7 @@ PxeGetStnAddr (
   //\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
@@ -90,10 +90,10 @@ PxeGetStnAddr (
 \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
@@ -139,7 +139,7 @@ PxeSetStnAddr (
   //\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