EasyManua.ls Logo

Intel Extensible Firmware Interface - G.4.6 Get Config Info

Intel Extensible Firmware Interface
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
32/64-bit UNDI Specification
Version 1.02 12/12/00 427
#define PXE_MAX_TXRX_UNIT_ETHER 1500
#define PXE_HWADDR_LEN_ETHER 0x0006
#define PXE_DUPLEX_ENABLE_FULL_SUPPORTED 1
#define PXE_DUPLEX_FORCE_FULL_SUPPORTED 2
#define PXE_LOOPBACK_INTERNAL_SUPPORTED 1
#define PXE_LOOPBACK_EXTERNAL_SUPPORTED 2
G.4.6 Get Config Info
This command is used to retrieve configuration information about the NIC being controlled by the
UNDI.
G.4.6.1 Issuing the Command
To issue a Get Config Info command, create a CDB and fill it in as shows in the table below:
CDB Field How to initialize the CDB structure for a Get Config Info command
OpCode
PXE_OPCODE_GET_CONFIG_INFO
OpFlags
PXE_OPFLAGS_NOT_USED
CPBsize
PXE_CPBSIZE_NOT_USED
DBsize
sizeof(PXE_DB_CONFIG_INFO)
CPBaddr
PXE_CPBADDR_NOT_USED
DBaddr
Address of a PXE_DB_CONFIG_INFO structure.
StatCode
PXE_STATCODE_INITIALIZE
StatFlags
PXE_STATFLAGS_INITIALIZE
IFnum
A valid interface number from zero to !PXE.IFcnt.
Control Set as needed.
G.4.6.2 Waiting for the Command to Execute
Monitor the upper two bits (14 & 15) in the CDB.StatFlags field. Until these bits change to
report PXE_STATFLAGS_COMMAND_COMPLETE or PXE_STATFLAGS_COMMAND_FAILED,
the command has not been executed by the UNDI.
StatFlags Reason
COMMAND_COMPLETE Command completed successfully. DB has been written.
COMMAND_FAILED Command failed. StatCode field contains error code.
COMMAND_QUEUED Command has been queued.
INITIALIZE Command has been not executed or queued.

Table of Contents

Related product manuals