iPXE
efab_nic Struct Reference

#include <etherfabric_nic.h>

Data Fields

struct net_devicenetdev
int pci_revision
int is_asic
struct i2c_bit_basher i2c_bb
struct spi_bus spi_bus
 SPI bus and devices, and the user visible NVO area.
struct spi_device spi_flash
struct spi_device spi_eeprom
struct spi_devicespi
struct nvo_block nvo
struct efab_board_operationsboard_op
 Board, MAC, and PHY operations tables.
struct efab_mac_operationsmac_op
struct efab_phy_operationsphy_op
int phy_addr
int phy_type
int phy_10g
int board_type
void * membase
 Memory and IO base.
unsigned int iobase
int buffer_head
struct efab_rx_queue rx_queue
struct efab_tx_queue tx_queue
struct efab_ev_queue ev_queue
uint8_t mac_addr [ETH_ALEN]
 MAC address.
unsigned int link_options
 GMII link options.
int link_up
 Link status.
efab_oword_t int_ker
 INT_REG_KER.

Detailed Description

Definition at line 155 of file etherfabric_nic.h.

Field Documentation

◆ netdev

struct net_device* efab_nic::netdev

◆ pci_revision

◆ is_asic

◆ i2c_bb

struct i2c_bit_basher efab_nic::i2c_bb

◆ spi_bus

struct spi_bus efab_nic::spi_bus

SPI bus and devices, and the user visible NVO area.

Definition at line 164 of file etherfabric_nic.h.

Referenced by falcon_init_spi_device(), and falcon_probe_spi().

◆ spi_flash

struct spi_device efab_nic::spi_flash

Definition at line 165 of file etherfabric_nic.h.

Referenced by falcon_probe_spi(), and falcon_spi_rw().

◆ spi_eeprom

struct spi_device efab_nic::spi_eeprom

Definition at line 166 of file etherfabric_nic.h.

Referenced by falcon_probe_spi(), and falcon_spi_rw().

◆ spi

struct spi_device* efab_nic::spi

Definition at line 167 of file etherfabric_nic.h.

Referenced by falcon_init_spi_device(), falcon_probe_nvram(), and falcon_probe_spi().

◆ nvo

struct nvo_block efab_nic::nvo

Definition at line 168 of file etherfabric_nic.h.

Referenced by efab_probe(), efab_remove(), and falcon_probe_spi().

◆ board_op

struct efab_board_operations* efab_nic::board_op

Board, MAC, and PHY operations tables.

Definition at line 171 of file etherfabric_nic.h.

Referenced by efab_close(), efab_open(), and falcon_probe_nvram().

◆ mac_op

struct efab_mac_operations* efab_nic::mac_op

Definition at line 172 of file etherfabric_nic.h.

Referenced by efab_init_mac(), and falcon_probe_nvram().

◆ phy_op

◆ phy_addr

int efab_nic::phy_addr

Definition at line 176 of file etherfabric_nic.h.

Referenced by falcon_mdio_read(), falcon_mdio_write(), and falcon_probe_nvram().

◆ phy_type

int efab_nic::phy_type

Definition at line 177 of file etherfabric_nic.h.

Referenced by falcon_probe_nvram().

◆ phy_10g

◆ board_type

int efab_nic::board_type

Definition at line 179 of file etherfabric_nic.h.

Referenced by falcon_probe_nvram().

◆ membase

void* efab_nic::membase

Memory and IO base.

Definition at line 182 of file etherfabric_nic.h.

Referenced by efab_probe(), and efab_remove().

◆ iobase

unsigned int efab_nic::iobase

Definition at line 183 of file etherfabric_nic.h.

Referenced by efab_probe().

◆ buffer_head

int efab_nic::buffer_head

Definition at line 186 of file etherfabric_nic.h.

Referenced by efab_free_resources(), and falcon_alloc_special_buffer().

◆ rx_queue

◆ tx_queue

◆ ev_queue

struct efab_ev_queue efab_nic::ev_queue

◆ mac_addr

uint8_t efab_nic::mac_addr[ETH_ALEN]

MAC address.

Definition at line 194 of file etherfabric_nic.h.

Referenced by efab_probe(), falcon_probe_nvram(), falcon_reconfigure_xmac(), and mentormac_init().

◆ link_options

◆ link_up

int efab_nic::link_up

Link status.

Definition at line 198 of file etherfabric_nic.h.

Referenced by alaska_init(), efab_init_mac(), falcon_init_gmac(), and falcon_init_xmac().

◆ int_ker

efab_oword_t efab_nic::int_ker

INT_REG_KER.

Definition at line 201 of file etherfabric_nic.h.

Referenced by falcon_init_resources().


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