Extensible Firmware Interface Specification
286 12/12/00 Version 1.02
15.1.5 EFI_SIMPLE_NETWOR K.Shutdown()
Summary
Resets a network adapter and leaves it in a state that is safe for another driver to initialize.
Prototype
EFI_STATUS
(EFIAPI *EFI_SIMPLE_NETWORK_SHUTDOWN) (
IN EFI_SIMPLE_NETWORK *This
);
Parameters
This A pointer to the EFI_SIMPLE_NETWORK instance.
Description
This function releases the memory buffers assigned in the Initialize() call. Pending
transmits and receives are lost, and interrupts are cleared and disabled. After this call, only the
Initialize() and Stop() calls may be used. If the network interface was successfully
shutdown, then EFI_SUCCESS will be returned. If the driver has not been initialized,
EFI_DEVICE_ERROR will be returned.
Status Codes Returned
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.