]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/SnpDxe/Start.c
1). Fix the debug level for DEBUG macro
[mirror_edk2.git] / MdeModulePkg / Universal / Network / SnpDxe / Start.c
index 5c5daeaa6039bffdfa0b42a4fb5550aa95a3b5f0..5beebad27459746230588eb7904839204575a1b5 100644 (file)
@@ -16,12 +16,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 \r
 /**\r
-  this routine calls undi to start the interface and changes the snp state.\r
+  Call UNDI to start the interface and changes the snp state.\r
 \r
-  @param  Snp                    pointer to snp driver structure\r
+  @param  Snp                    pointer to snp driver structure.\r
 \r
-  @retval EFI_DEVICE_ERROR       UNDI could not be started\r
-  @retval EFI_SUCCESS            UNDI is started successfully\r
+  @retval EFI_SUCCESS            UNDI is started successfully.\r
+  @retval EFI_DEVICE_ERROR       UNDI could not be started.\r
   \r
 **/\r
 EFI_STATUS\r
@@ -72,7 +72,7 @@ PxeStart (
   //\r
   // Issue UNDI command and check result.\r
   //\r
-  DEBUG ((EFI_D_NET, "\nsnp->undi.start()  "));\r
+  DEBUG ((EFI_D_INFO | EFI_D_NET, "\nsnp->undi.start()  "));\r
 \r
   (*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
 \r
@@ -99,7 +99,7 @@ PxeStart (
 \r
 \r
 /**\r
-  Changes the state of a network interface from "stopped" to "started."\r
+  Change the state of a network interface from "stopped" to "started."\r
   \r
   This function starts a network interface. If the network interface successfully\r
   starts, then EFI_SUCCESS will be returned.\r