iPXE
Data Fields
rhine_nic Struct Reference

A VIA Rhine network card. More...

#include <rhine.h>

Data Fields

unsigned long ioaddr
 I/O address (some PIO access is always required) More...
 
void * regs
 Registers. More...
 
uint8_t cr1
 Cached value of CR1 (to avoid read-modify-write on fast path) More...
 
struct mii_interface mdio
 MII interface. More...
 
struct mii_device mii
 MII device. More...
 
struct rhine_ring tx
 Transmit descriptor ring. More...
 
struct rhine_ring rx
 Receive descriptor ring. More...
 
struct io_bufferrx_iobuf [RHINE_RXDESC_NUM]
 Receive I/O buffers. More...
 

Detailed Description

A VIA Rhine network card.

Definition at line 231 of file rhine.h.

Field Documentation

◆ ioaddr

unsigned long rhine_nic::ioaddr

I/O address (some PIO access is always required)

Definition at line 233 of file rhine.h.

Referenced by rhine_enable_mmio(), rhine_probe(), rhine_reload_eeprom(), and rhine_reset().

◆ regs

void* rhine_nic::regs

◆ cr1

uint8_t rhine_nic::cr1

Cached value of CR1 (to avoid read-modify-write on fast path)

Definition at line 237 of file rhine.h.

Referenced by rhine_open(), and rhine_transmit().

◆ mdio

struct mii_interface rhine_nic::mdio

MII interface.

Definition at line 240 of file rhine.h.

Referenced by rhine_mii_read(), rhine_mii_write(), and rhine_probe().

◆ mii

struct mii_device rhine_nic::mii

MII device.

Definition at line 242 of file rhine.h.

Referenced by rhine_probe().

◆ tx

struct rhine_ring rhine_nic::tx

Transmit descriptor ring.

Definition at line 245 of file rhine.h.

Referenced by rhine_close(), rhine_open(), rhine_poll_tx(), rhine_probe(), and rhine_transmit().

◆ rx

struct rhine_ring rhine_nic::rx

Receive descriptor ring.

Definition at line 247 of file rhine.h.

Referenced by rhine_close(), rhine_open(), rhine_poll_rx(), rhine_probe(), and rhine_refill_rx().

◆ rx_iobuf

struct io_buffer* rhine_nic::rx_iobuf[RHINE_RXDESC_NUM]

Receive I/O buffers.

Definition at line 249 of file rhine.h.

Referenced by rhine_close(), rhine_poll_rx(), and rhine_refill_rx().


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