TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | VirtioNetShutdown (IN EFI_SIMPLE_NETWORK_PROTOCOL *This) |
Implementation of the SNP.Shutdown() function and its private helpers if any.
Copyright (C) 2013, Red Hat, Inc. Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
Copyright (c) 2017, AMD Inc, All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SnpShutdown.c.
EFI_STATUS EFIAPI VirtioNetShutdown | ( | IN EFI_SIMPLE_NETWORK_PROTOCOL * | This | ) |
Resets a network adapter and leaves it in a state that is safe for another driver to initialize.
This | Protocol instance pointer. |
EFI_SUCCESS | The network interface was shutdown. |
EFI_NOT_STARTED | The network interface has not been started. |
EFI_INVALID_PARAMETER | One or more of the parameters has an unsupported value. |
EFI_DEVICE_ERROR | The command could not be sent to the network interface. |
EFI_UNSUPPORTED | This function is not supported by the network interface. |
Definition at line 35 of file SnpShutdown.c.