Efi_simple_network.shutdown(), Shutdown(), Func – Intel Extensible Firmware Interface User Manual

Page 616: Efi_simple_network.shutdown() summary, Prototype, Parameters, Description, Status codes returned

Advertising
background image

Extensible Firmware Interface Specification

15-10

12/01/02

Version 1.10

EFI_SIMPLE_NETWORK.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.

Advertising