#include <gpxe/bitbash.h>#include <gpxe/i2c.h>#include <gpxe/spi.h>#include <gpxe/nvo.h>#include <gpxe/if_ether.h>Go to the source code of this file.
Data Structures | |
| struct | efab_special_buffer |
| struct | efab_tx_queue |
| struct | efab_rx_queue |
| struct | efab_ev_queue |
| struct | efab_mac_operations |
| struct | efab_phy_operations |
| struct | efab_board_operations |
| struct | efab_nic |
Defines | |
| #define | dma_addr_t unsigned long |
| #define | EFAB_BUF_ALIGN 4096 |
| #define | EFAB_RXD_SIZE 512 |
| #define | EFAB_TXD_SIZE 512 |
| #define | EFAB_EVQ_SIZE 512 |
| #define | EFAB_NUM_RX_DESC 16 |
| #define | EFAB_RX_BUF_SIZE 1600 |
Typedefs | |
| typedef efab_qword_t | falcon_rx_desc_t |
| typedef efab_qword_t | falcon_tx_desc_t |
| typedef efab_qword_t | falcon_event_t |
Enumerations | |
| enum | efab_board_type { EFAB_BOARD_INVALID = 0, EFAB_BOARD_SFE4001 = 1, EFAB_BOARD_SFE4002 = 2, EFAB_BOARD_SFE4003 = 3, EFAB_BOARD_MAX } |
| enum | phy_type_t { PHY_TYPE_AUTO = 0, PHY_TYPE_CX4_RTMR = 1, PHY_TYPE_1GIG_ALASKA = 2, PHY_TYPE_10XPRESS = 3, PHY_TYPE_XFP = 4, PHY_TYPE_CX4 = 5, PHY_TYPE_PM8358 = 6 } |
Functions | |
| FILE_LICENCE (GPL_ANY) | |
| #define dma_addr_t unsigned long |
Definition at line 64 of file etherfabric_nic.h.
| #define EFAB_BUF_ALIGN 4096 |
Definition at line 69 of file etherfabric_nic.h.
Referenced by falcon_alloc_special_buffer(), and falcon_free_special_buffer().
| #define EFAB_RXD_SIZE 512 |
Definition at line 70 of file etherfabric_nic.h.
Referenced by efab_alloc_resources(), efab_fill_rx_queue(), efab_receive(), falcon_init_resources(), and falcon_notify_rx_desc().
| #define EFAB_TXD_SIZE 512 |
Definition at line 71 of file etherfabric_nic.h.
Referenced by efab_alloc_resources(), efab_free_resources(), efab_transmit(), efab_transmit_done(), falcon_init_resources(), and falcon_notify_tx_desc().
| #define EFAB_EVQ_SIZE 512 |
Definition at line 72 of file etherfabric_nic.h.
Referenced by efab_poll(), and falcon_init_resources().
| #define EFAB_NUM_RX_DESC 16 |
Definition at line 74 of file etherfabric_nic.h.
Referenced by efab_fill_rx_queue(), efab_free_resources(), and efab_receive().
| #define EFAB_RX_BUF_SIZE 1600 |
Definition at line 75 of file etherfabric_nic.h.
Referenced by efab_fill_rx_queue(), and falcon_build_rx_desc().
| typedef efab_qword_t falcon_rx_desc_t |
Definition at line 65 of file etherfabric_nic.h.
| typedef efab_qword_t falcon_tx_desc_t |
Definition at line 66 of file etherfabric_nic.h.
| typedef efab_qword_t falcon_event_t |
Definition at line 67 of file etherfabric_nic.h.
| enum efab_board_type |
| EFAB_BOARD_INVALID | |
| EFAB_BOARD_SFE4001 | |
| EFAB_BOARD_SFE4002 | |
| EFAB_BOARD_SFE4003 | |
| EFAB_BOARD_MAX |
Definition at line 37 of file etherfabric_nic.h.
00037 { 00038 EFAB_BOARD_INVALID = 0, /* Early boards do not have board rev. info. */ 00039 EFAB_BOARD_SFE4001 = 1, 00040 EFAB_BOARD_SFE4002 = 2, 00041 EFAB_BOARD_SFE4003 = 3, 00042 /* Insert new types before here */ 00043 EFAB_BOARD_MAX 00044 } efab_board_type;
| enum phy_type_t |
| PHY_TYPE_AUTO | |
| PHY_TYPE_CX4_RTMR | |
| PHY_TYPE_1GIG_ALASKA | |
| PHY_TYPE_10XPRESS | |
| PHY_TYPE_XFP | |
| PHY_TYPE_CX4 | |
| PHY_TYPE_PM8358 |
Definition at line 47 of file etherfabric_nic.h.
00047 { 00048 PHY_TYPE_AUTO = 0, /* on development board detect between CX4 & alaska */ 00049 PHY_TYPE_CX4_RTMR = 1, 00050 PHY_TYPE_1GIG_ALASKA = 2, 00051 PHY_TYPE_10XPRESS = 3, 00052 PHY_TYPE_XFP = 4, 00053 PHY_TYPE_CX4 = 5, 00054 PHY_TYPE_PM8358 = 6, 00055 } phy_type_t;
| FILE_LICENCE | ( | GPL_ANY | ) |
1.5.7.1