Extensible Firmware Interface Specification
G.4.8
Reset
This command resets the network adapter and re-initializes the UNDI with the same parameters
provided in the Initialize command. The transmit and receive queues are emptied and any pending
interrupts are cleared. Depending on the state of the OpFlags, the receive filters and external
interrupt enables may also be reset.
Resetting the network device may take up to four seconds and in some extreme cases (usually poor
cables) up to twenty seconds.
G.4.8.1
Issuing the Command
To issue a Reset command, create a CDB and fill it in as shows in the table below:
CDB Field
OpCode
OpFlags
CPBsize
DBsize
CPBaddr
DBaddr
StatCode
StatFlags
IFnum
Control
OpFlags
Normally the settings of the receive filters and external interrupt enables are unchanged by the
Reset command. These two OpFlags will alter the operation of the Reset command.
•
PXE_OPFLAGS_RESET_DISABLE_INTERRUPTS
•
PXE_OPFLAGS_RESET_DISABLE_FILTERS
G.4.8.2
Waiting for the Command to Execute
Monitor the upper two bits (14 & 15) in the
report
PXE_STATFLAGS_COMMAND_COMPLETE
the command has not been executed by the UNDI.
StatFlags
COMMAND_COMPLETE
COMMAND_FAILED
COMMAND_QUEUED
INITIALIZE
434
How to initialize the CDB structure for a Reset command
PXE_OPCODE_RESET
Set as needed.
PXE_CPBSIZE_NOT_USED
PXE_DBSIZE_NOT_USED
PXE_CPBSIZE_NOT_USED
PXE_DBSIZE_NOT_USED
PXE_STATCODE_INITIALIZE
PXE_STATFLAGS_INITIALIZE
A valid interface number from zero to !PXE.IFcnt.
Set as needed.
CDB.StatFlags
Reason
Command completed successfully. UNDI and network device have been
reset. Check StatFlags.
Command failed. StatCode field contains error code.
Command has been queued.
Command has been not executed or queued.
12/12/00
field. Until these bits change to
or PXE_STATFLAGS_COMMAND_FAILED,
Version 1.02
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?