iPXE
Data Fields
realtek_nic Struct Reference

A Realtek network card. More...

#include <realtek.h>

Data Fields

void * regs
 Registers.
struct spi_bit_basher spibit
 SPI bit-bashing interface.
struct spi_device eeprom
 EEPROM.
struct nvo_block nvo
 Non-volatile options.
struct mii_interface mdio
 MII interface.
struct mii_device mii
 MII device.
int legacy
 Legacy datapath mode.
int have_phy_regs
 PHYAR and PHYSTATUS registers are present.
unsigned int tppoll
 TPPoll register offset.
struct realtek_ring tx
 Transmit descriptor ring.
struct realtek_ring rx
 Receive descriptor ring.
struct io_bufferrx_iobuf [RTL_NUM_RX_DESC]
 Receive I/O buffers.
void * rx_buffer
 Receive buffer (legacy mode)
unsigned int rx_offset
 Offset within receive buffer (legacy mode)

Detailed Description

A Realtek network card.

Definition at line 276 of file realtek.h.


Field Documentation

EEPROM.

Definition at line 282 of file realtek.h.

Referenced by realtek_detect(), realtek_init_eeprom(), and realtek_probe().

Non-volatile options.

Definition at line 284 of file realtek.h.

Referenced by realtek_init_eeprom(), realtek_probe(), and realtek_remove().

MII interface.

Definition at line 286 of file realtek.h.

Referenced by realtek_probe().

MII device.

Definition at line 288 of file realtek.h.

Referenced by realtek_check_link(), realtek_phy_reset(), realtek_phy_speed(), and realtek_probe().

PHYAR and PHYSTATUS registers are present.

Definition at line 293 of file realtek.h.

Referenced by realtek_check_link(), realtek_detect(), realtek_mii_read(), realtek_mii_write(), and realtek_phy_reset().

unsigned int realtek_nic::tppoll

TPPoll register offset.

Definition at line 295 of file realtek.h.

Referenced by realtek_detect(), and realtek_transmit().

Transmit descriptor ring.

Definition at line 298 of file realtek.h.

Referenced by realtek_close(), realtek_open(), realtek_poll_tx(), realtek_probe(), and realtek_transmit().

Receive descriptor ring.

Definition at line 300 of file realtek.h.

Referenced by realtek_close(), realtek_open(), realtek_poll_rx(), realtek_probe(), and realtek_refill_rx().

Receive I/O buffers.

Definition at line 302 of file realtek.h.

Referenced by realtek_close(), realtek_poll_rx(), and realtek_refill_rx().

Receive buffer (legacy mode)

Definition at line 304 of file realtek.h.

Referenced by realtek_create_buffer(), realtek_destroy_buffer(), and realtek_legacy_poll_rx().

unsigned int realtek_nic::rx_offset

Offset within receive buffer (legacy mode)

Definition at line 306 of file realtek.h.

Referenced by realtek_destroy_buffer(), and realtek_legacy_poll_rx().


The documentation for this struct was generated from the following file: