summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Network/SnpDxe/Station_address.c
diff options
context:
space:
mode:
authorniry <niry@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-29 01:16:13 +0000
committerniry <niry@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-29 01:16:13 +0000
commitf381602727922e793de5826ee390344cb907e07a (patch)
tree0804df82e8a43fe1f140991338a69fc9bdf547fb /MdeModulePkg/Universal/Network/SnpDxe/Station_address.c
parent99fd60317fbbef0ca2be2f86992db6a552885fdb (diff)
downloadedk2-f381602727922e793de5826ee390344cb907e07a.zip
edk2-f381602727922e793de5826ee390344cb907e07a.tar.gz
edk2-f381602727922e793de5826ee390344cb907e07a.tar.bz2
1). Fix the debug level for DEBUG macro
2). Uniform the function description comments git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7143 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Network/SnpDxe/Station_address.c')
-rw-r--r--MdeModulePkg/Universal/Network/SnpDxe/Station_address.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Station_address.c b/MdeModulePkg/Universal/Network/SnpDxe/Station_address.c
index 07df584..42792c2 100644
--- a/MdeModulePkg/Universal/Network/SnpDxe/Station_address.c
+++ b/MdeModulePkg/Universal/Network/SnpDxe/Station_address.c
@@ -16,13 +16,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/**
- this routine calls undi to read the MAC address of the NIC and updates the
- mode structure with the address.
+ Call UNDI to read the MAC address of the NIC and update the mode structure
+ with the address.
- @param Snp pointer to snp driver structure.
+ @param Snp Pointer to snp driver structure.
- @retval EFI_SUCCESS the MAC address of the NIC is read successfully.
- @retval EFI_DEVICE_ERROR failed to read the MAC address of the NIC.
+ @retval EFI_SUCCESS The MAC address of the NIC is read successfully.
+ @retval EFI_DEVICE_ERROR Failed to read the MAC address of the NIC.
**/
EFI_STATUS
@@ -50,7 +50,7 @@ PxeGetStnAddr (
//
// Issue UNDI command and check result.
//
- DEBUG ((EFI_D_NET, "\nsnp->undi.station_addr() "));
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nsnp->undi.station_addr() "));
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);
@@ -90,10 +90,10 @@ PxeGetStnAddr (
/**
- this routine calls undi to set a new MAC address for the NIC,
+ Call UNDI to set a new MAC address for the NIC.
- @param Snp pointer to Snp driver structure
- @param NewMacAddr pointer to a mac address to be set for the nic, if this is
+ @param Snp Pointer to Snp driver structure.
+ @param NewMacAddr Pointer to a MAC address to be set for the NIC, if this is
NULL then this routine resets the mac address to the NIC's
original address.
@@ -139,7 +139,7 @@ PxeSetStnAddr (
//
// Issue UNDI command and check result.
//
- DEBUG ((EFI_D_NET, "\nsnp->undi.station_addr() "));
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nsnp->undi.station_addr() "));
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);