beautypg.com

Efi_simple_network.reset(), E the, Reset() – Intel Extensible Firmware Interface User Manual

Page 615: Efi_simple_network.reset() summary, Prototype, Parameters, Description, Status codes returned

background image

Protocols

— Network Support

Version 1.10

12/01/02

15-9

EFI_SIMPLE_NETWORK.Reset()

Summary

Resets a network adapter and reinitializes it with the parameters that were provided in the previous
call to

Initialize()

.

Prototype

EFI_STATUS

(EFIAPI *EFI_SIMPLE_NETWORK_RESET) (

IN

EFI_SIMPLE_NETWORK

*This,

IN

BOOLEAN

ExtendedVerification

);

Parameters

This

A pointer to the

EFI_SIMPLE_NETWORK

instance.

ExtendedVerification

Indicates that the driver may perform a more exhaustive
verification operation of the device during reset.

Description

This function resets a network adapter and reinitializes it with the parameters 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 been initialized,

EFI_DEVICE_ERROR

will be returned.

Status Codes Returned

EFI_SUCCESS

The network interface was reset.

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.