iPXE
Data Fields
natsemi_nic Struct Reference

A National Semiconductor network card. More...

#include <natsemi.h>

Data Fields

unsigned int flags
 Flags. More...
 
void * regs
 Registers. More...
 
struct spi_bit_basher spibit
 SPI bit-bashing interface. More...
 
struct spi_device eeprom
 EEPROM. More...
 
struct natsemi_ring tx
 Transmit descriptor ring. More...
 
struct natsemi_ring rx
 Receive descriptor ring. More...
 
struct io_bufferrx_iobuf [NATSEMI_NUM_RX_DESC]
 Receive I/O buffers. More...
 
uint32_t cfg
 Link status (cache) More...
 

Detailed Description

A National Semiconductor network card.

Definition at line 283 of file natsemi.h.

Field Documentation

◆ flags

unsigned int natsemi_nic::flags

◆ regs

void* natsemi_nic::regs

◆ spibit

struct spi_bit_basher natsemi_nic::spibit

SPI bit-bashing interface.

Definition at line 289 of file natsemi.h.

Referenced by natsemi_init_eeprom(), natsemi_spi_read_bit(), and natsemi_spi_write_bit().

◆ eeprom

struct spi_device natsemi_nic::eeprom

EEPROM.

Definition at line 291 of file natsemi.h.

Referenced by natsemi_hwaddr(), and natsemi_init_eeprom().

◆ tx

struct natsemi_ring natsemi_nic::tx

Transmit descriptor ring.

Definition at line 294 of file natsemi.h.

Referenced by natsemi_close(), natsemi_open(), natsemi_poll_tx(), natsemi_probe(), and natsemi_transmit().

◆ rx

struct natsemi_ring natsemi_nic::rx

Receive descriptor ring.

Definition at line 296 of file natsemi.h.

Referenced by natsemi_close(), natsemi_open(), natsemi_poll_rx(), natsemi_probe(), and natsemi_refill_rx().

◆ rx_iobuf

struct io_buffer* natsemi_nic::rx_iobuf[NATSEMI_NUM_RX_DESC]

Receive I/O buffers.

Definition at line 298 of file natsemi.h.

Referenced by natsemi_close(), natsemi_poll_rx(), and natsemi_refill_rx().

◆ cfg

uint32_t natsemi_nic::cfg

Link status (cache)

Definition at line 301 of file natsemi.h.

Referenced by natsemi_check_link(), and natsemi_reset().


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