iPXE
|
Asix 10/100/1000 USB Ethernet driver. More...
Go to the source code of this file.
Data Structures | |
struct | axge_bulk_in_control |
Bulk IN Control (undocumented) More... | |
struct | axge_tx_header |
Transmit packet header. More... | |
struct | axge_rx_footer |
Receive packet footer. More... | |
struct | axge_rx_descriptor |
Receive packet descriptor. More... | |
struct | axge_interrupt |
Interrupt data. More... | |
struct | axge_device |
An AXGE network device. More... | |
Macros | |
#define | AXGE_READ_MAC_REGISTER |
Read MAC register. More... | |
#define | AXGE_WRITE_MAC_REGISTER |
Write MAC register. More... | |
#define | AXGE_PLSR 0x02 |
Physical Link Status Register. More... | |
#define | AXGE_PLSR_EPHY_10 0x10 |
Ethernet at 10Mbps. More... | |
#define | AXGE_PLSR_EPHY_100 0x20 |
Ethernet at 100Mbps. More... | |
#define | AXGE_PLSR_EPHY_1000 0x40 |
Ethernet at 1000Mbps. More... | |
#define | AXGE_PLSR_EPHY_ANY |
#define | AXGE_RCR 0x0b |
RX Control Register. More... | |
#define | AXGE_RCR_PRO 0x0001 |
Promiscuous mode. More... | |
#define | AXGE_RCR_AMALL 0x0002 |
Accept all multicasts. More... | |
#define | AXGE_RCR_AB 0x0008 |
Accept broadcasts. More... | |
#define | AXGE_RCR_SO 0x0080 |
Start operation. More... | |
#define | AXGE_NIDR 0x10 |
Node ID Register. More... | |
#define | AXGE_MSR 0x22 |
Medium Status Register. More... | |
#define | AXGE_MSR_GM 0x0001 |
Gigabit mode. More... | |
#define | AXGE_MSR_FD 0x0002 |
Full duplex. More... | |
#define | AXGE_MSR_RFC 0x0010 |
RX flow control enable. More... | |
#define | AXGE_MSR_TFC 0x0020 |
TX flow control enable. More... | |
#define | AXGE_MSR_RE 0x0100 |
Receive enable. More... | |
#define | AXGE_MSR_PS 0x0200 |
100Mbps port speed More... | |
#define | AXGE_EPPRCR 0x26 |
Ethernet PHY Power and Reset Control Register. More... | |
#define | AXGE_EPPRCR_IPRL 0x0020 |
Undocumented. More... | |
#define | AXGE_EPPRCR_DELAY_MS 200 |
Delay after initialising EPPRCR. More... | |
#define | AXGE_BICR 0x2e |
Bulk IN Control Register (undocumented) More... | |
#define | AXGE_CSR 0x33 |
Clock Select Register (undocumented) More... | |
#define | AXGE_CSR_BCS 0x01 |
Undocumented. More... | |
#define | AXGE_CSR_ACS 0x02 |
Undocumented. More... | |
#define | AXGE_CSR_DELAY_MS 100 |
Delay after initialising CSR. More... | |
#define | AXGE_RX_LEN_MASK 0x1fff |
Receive packet length mask. More... | |
#define | AXGE_RX_LEN_PAD_ALIGN 8 |
Receive packet length alignment. More... | |
#define | AXGE_RX_CRC_ERROR 0x2000 |
Receive packet CRC error. More... | |
#define | AXGE_RX_DROP_ERROR 0x8000 |
Receive packet dropped error. More... | |
#define | AXGE_INTR_MAGIC 0x00a1 |
Interrupt magic signature. More... | |
#define | AXGE_INTR_LINK_PPLS 0x0001 |
Link is up. More... | |
#define | AXGE_INTR_MAX_FILL 2 |
Interrupt maximum fill level. More... | |
#define | AXGE_IN_MAX_FILL 8 |
Bulk IN maximum fill level. More... | |
#define | AXGE_IN_MTU 2048 |
Bulk IN buffer size. More... | |
#define | AXGE_IN_RESERVE sizeof ( struct axge_tx_header ) |
Amount of space to reserve at start of bulk IN buffers. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
Asix 10/100/1000 USB Ethernet driver.
Definition in file axge.h.
#define AXGE_READ_MAC_REGISTER |
Read MAC register.
#define AXGE_WRITE_MAC_REGISTER |
Write MAC register.
#define AXGE_PLSR_EPHY_ANY |
#define AXGE_EPPRCR 0x26 |
#define AXGE_EPPRCR_DELAY_MS 200 |
#define AXGE_BICR 0x2e |
#define AXGE_RX_LEN_PAD_ALIGN 8 |
#define AXGE_RX_DROP_ERROR 0x8000 |
#define AXGE_INTR_MAX_FILL 2 |
#define AXGE_IN_MAX_FILL 8 |
#define AXGE_IN_MTU 2048 |
#define AXGE_IN_RESERVE sizeof ( struct axge_tx_header ) |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |