X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FSnpDxe%2FReset.c;h=5b8bc0d675688fad0ccad5940f9e1450015c8eed;hb=9cff2f8d3687aeed765e1ee787c18ce70ae500bc;hp=f616d43584ccbf974ee5999f31f1a06a8c141ae8;hpb=4cda7726e5fd30aaf3e05c80207ae1b264bfa123;p=mirror_edk2.git diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Reset.c b/MdeModulePkg/Universal/Network/SnpDxe/Reset.c index f616d43584..5b8bc0d675 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/Reset.c +++ b/MdeModulePkg/Universal/Network/SnpDxe/Reset.c @@ -1,33 +1,27 @@ /** @file -Copyright (c) 2004 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php + Implementation of resetting a network adapter. + +Copyright (c) 2004 - 2007, Intel Corporation.
All rights reserved. This +program and the accompanying materials are licensed and made available under the +terms and conditions of the BSD License which accompanies this distribution. The +full text of the license may be found at +http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module name: - reset.c - -Abstract: - -Revision history: - 2000-Feb-09 M(f)J Genesis. - **/ #include "Snp.h" /** - This routine calls undi to reset the nic. + Call UNDI to reset the NIC. - @param Snp pointer to the snp driver structure + @param Snp Pointer to the snp driver structure. - @return EFI_SUCCESSFUL for a successful completion - @return other for failed calls + @return EFI_SUCCESSFUL The NIC was reset. + @retval EFI_DEVICE_ERROR The NIC cannot be reset. **/ EFI_STATUS