X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FSnpDxe%2FReset.c;h=3069bfde660c85289425993ac4070b69eb8c13c2;hp=2381264c11afa2c830e7935ba792986432a95373;hb=c0fd7f734e2d33e22215899b40a47b843129541d;hpb=e5eed7d3641d71d7ea539e5379ea9c6a5cd97004 diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Reset.c b/MdeModulePkg/Universal/Network/SnpDxe/Reset.c index 2381264c11..3069bfde66 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/Reset.c +++ b/MdeModulePkg/Universal/Network/SnpDxe/Reset.c @@ -1,14 +1,8 @@ /** @file 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. +Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent **/ @@ -70,16 +64,16 @@ PxeReset ( provided in the previous call to Initialize(). This function resets a network adapter and reinitializes it with the parameters - that were provided in the previous call to Initialize(). The transmit and + that were provided in the previous call to Initialize(). The transmit and receive queues are emptied and all pending interrupts are cleared. - Receive filters, the station address, the statistics, and the multicast-IP-to-HW - MAC addresses are not reset by this call. If the network interface was - successfully reset, then EFI_SUCCESS will be returned. If the driver has not + Receive filters, the station address, the statistics, and the multicast-IP-to-HW + MAC addresses are not reset by this call. If the network interface was + successfully reset, then EFI_SUCCESS will be returned. If the driver has not been initialized, EFI_DEVICE_ERROR will be returned. @param This A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance. - @param ExtendedVerification Indicates that the driver may perform a more - exhaustive verification operation of the device + @param ExtendedVerification Indicates that the driver may perform a more + exhaustive verification operation of the device during reset. @retval EFI_SUCCESS The network interface was reset.