\r
\r
/**\r
- this routine calls undi to stop the interface and changes the snp state.\r
+ Call UNDI to stop the interface and changes the snp state.\r
\r
- @param Snp pointer to snp driver structure\r
-\r
- @retval EFI_INVALID_PARAMETER invalid parameter\r
- @retval EFI_NOT_STARTED SNP is not started\r
- @retval EFI_DEVICE_ERROR SNP is not initialized\r
- @retval EFI_UNSUPPORTED operation unsupported\r
+ @param Snp Pointer to snp driver structure\r
+ \r
+ @retval EFI_SUCCESS The network interface was stopped.\r
+ @retval EFI_DEVICE_ERROR SNP is not initialized.\r
\r
**/\r
EFI_STATUS\r
//\r
// Issue UNDI command\r
//\r
- DEBUG ((EFI_D_NET, "\nsnp->undi.stop() "));\r
+ DEBUG ((EFI_D_INFO | EFI_D_NET, "\nsnp->undi.stop() "));\r
\r
(*Snp->IssueUndi32Command) ((UINT64)(UINTN) &Snp->Cdb);\r
\r
if (Snp->Cdb.StatCode != PXE_STATCODE_SUCCESS) {\r
DEBUG (\r
- (EFI_D_WARN,\r
+ (EFI_D_ERROR,\r
"\nsnp->undi.stop() %xh:%xh\n",\r
Snp->Cdb.StatCode,\r
Snp->Cdb.StatFlags)\r
interface is in the started state. If the network interface was successfully\r
stopped, then EFI_SUCCESS will be returned.\r
\r
- @param This A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance.\r
+ @param This A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL \r
+ instance.\r
\r
\r
@retval EFI_SUCCESS The network interface was stopped.\r
@retval EFI_NOT_STARTED The network interface has not been started.\r
- @retval EFI_INVALID_PARAMETER This parameter was NULL or did not point to a valid \r
- EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
- @retval EFI_DEVICE_ERROR The command could not be sent to the network interface.\r
- @retval EFI_UNSUPPORTED This function is not supported by the network interface.\r
+ @retval EFI_INVALID_PARAMETER This parameter was NULL or did not point to a \r
+ valid EFI_SIMPLE_NETWORK_PROTOCOL structure.\r
+ @retval EFI_DEVICE_ERROR The command could not be sent to the network \r
+ interface.\r
+ @retval EFI_UNSUPPORTED This function is not supported by the network \r
+ interface.\r
\r
**/\r
EFI_STATUS\r