|
iPXE
|
Go to the source code of this file.
Data Structures | |
| struct | pcnet32_rx_desc |
| struct | pcnet32_tx_desc |
| struct | pcnet32_init_block |
| struct | pcnet32_access |
| struct | pcnet32_private |
Enumerations | |
| enum | pcnet32_desc_status_bit { DescOwn = (1 << 15) , StartOfPacket = (1 << 9) , EndOfPacket = (1 << 8) } |
| enum | pcnet32_register_content { RxInt = (1 << 10) , TxInt = (1 << 9) , InitDone = (1 << 8) , IntFlag = (1 << 7) , IntEnable = (1 << 6) , TxDemand = (1 << 3) , Stop = (1 << 2) , Strt = (1 << 1) , Init = (1 << 0) , BablMask = (1 << 14) , MissFrameMask = (1 << 12) , MemErrMask = (1 << 11) , RxIntMask = (1 << 10) , TxIntMask = (1 << 9) , InitDoneMask = (1 << 8) } |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER) | |
| #define PCNET32_LOG_TX_BUFFERS 4 |
Definition at line 30 of file pcnet32.h.
Referenced by pcnet32_setup_init_block().
| #define PCNET32_LOG_RX_BUFFERS 5 |
Definition at line 31 of file pcnet32.h.
Referenced by pcnet32_setup_init_block().
| #define TX_RING_SIZE ( 1 << ( PCNET32_LOG_TX_BUFFERS ) ) |
| #define TX_MAX_RING_SIZE ( 1 << ( PCNET32_LOG_MAX_TX_BUFFERS ) ) |
| #define RX_RING_SIZE ( 1 << ( PCNET32_LOG_RX_BUFFERS ) ) |
| #define RX_MAX_RING_SIZE ( 1 << ( PCNET32_LOG_MAX_RX_BUFFERS ) ) |
| #define RX_RING_BYTES ( RX_RING_SIZE * sizeof(struct pcnet32_rx_desc ) ) |
| #define TX_RING_BYTES ( TX_RING_SIZE * sizeof(struct pcnet32_tx_desc ) ) |
| #define PKT_BUF_SIZE 1536 |
Definition at line 46 of file pcnet32.h.
Referenced by pcnet32_refill_rx_ring().
| #define PCNET32_WIO_RDP 0x10 |
Definition at line 53 of file pcnet32.h.
Referenced by pcnet32_wio_read_csr(), and pcnet32_wio_write_csr().
| #define PCNET32_WIO_RAP 0x12 |
Definition at line 54 of file pcnet32.h.
Referenced by pcnet32_wio_check(), pcnet32_wio_read_bcr(), pcnet32_wio_read_csr(), pcnet32_wio_read_rap(), pcnet32_wio_write_bcr(), pcnet32_wio_write_csr(), and pcnet32_wio_write_rap().
| #define PCNET32_WIO_RESET 0x14 |
Definition at line 55 of file pcnet32.h.
Referenced by pcnet32_wio_reset().
| #define PCNET32_WIO_BDP 0x16 |
Definition at line 56 of file pcnet32.h.
Referenced by pcnet32_wio_read_bcr(), and pcnet32_wio_write_bcr().
| #define PCNET32_DWIO_RDP 0x10 |
Definition at line 58 of file pcnet32.h.
Referenced by pcnet32_dwio_read_csr(), and pcnet32_dwio_write_csr().
| #define PCNET32_DWIO_RAP 0x14 |
Definition at line 59 of file pcnet32.h.
Referenced by pcnet32_dwio_check(), pcnet32_dwio_read_bcr(), pcnet32_dwio_read_csr(), pcnet32_dwio_read_rap(), pcnet32_dwio_write_bcr(), pcnet32_dwio_write_csr(), and pcnet32_dwio_write_rap().
| #define PCNET32_DWIO_RESET 0x18 |
Definition at line 60 of file pcnet32.h.
Referenced by pcnet32_dwio_reset().
| #define PCNET32_DWIO_BDP 0x1C |
Definition at line 61 of file pcnet32.h.
Referenced by pcnet32_dwio_read_bcr(), and pcnet32_dwio_write_bcr().
| #define PCNET32_PORT_AUI 0x00 |
Definition at line 63 of file pcnet32.h.
Referenced by pcnet32_setup_if_duplex().
| #define PCNET32_PORT_GPSI 0x02 |
Definition at line 65 of file pcnet32.h.
Referenced by pcnet32_probe(), and pcnet32_setup_if_duplex().
| #define PCNET32_PORT_MII 0x03 |
Definition at line 66 of file pcnet32.h.
Referenced by pcnet32_setup_probe_phy().
| #define PCNET32_PORT_PORTSEL 0x03 |
Definition at line 68 of file pcnet32.h.
Referenced by pcnet32_setup_if_duplex(), and pcnet32_setup_init_block().
| #define PCNET32_PORT_ASEL 0x04 |
Definition at line 69 of file pcnet32.h.
Referenced by pcnet32_probe(), and pcnet32_setup_if_duplex().
| #define PCNET32_PORT_100 0x40 |
Definition at line 70 of file pcnet32.h.
Referenced by pcnet32_setup_if_duplex().
| #define PCNET32_PORT_FD 0x80 |
Definition at line 71 of file pcnet32.h.
Referenced by pcnet32_probe(), and pcnet32_setup_if_duplex().
| #define PCNET32_SWSTYLE_LANCE 0x00 |
Definition at line 73 of file pcnet32.h.
Referenced by pcnet32_close().
| #define PCNET32_SWSTYLE_PCNET32 0x02 |
Definition at line 75 of file pcnet32.h.
Referenced by pcnet32_open().
| #define PCNET32_MAX_PHYS 32 |
Definition at line 77 of file pcnet32.h.
Referenced by pcnet32_setup_probe_phy().
| #define PCI_VENDOR_ID_AT 0x1259 |
Definition at line 80 of file pcnet32.h.
Referenced by pcnet32_setup_if_duplex().
| #define PCI_SUBDEVICE_ID_AT_2700FX 0x2701 |
Definition at line 84 of file pcnet32.h.
Referenced by pcnet32_setup_if_duplex().
| #define PCI_SUBDEVICE_ID_AT_2701FX 0x2703 |
Definition at line 88 of file pcnet32.h.
Referenced by pcnet32_setup_if_duplex().
| Enumerator | |
|---|---|
| DescOwn | |
| StartOfPacket | |
| EndOfPacket | |
| Enumerator | |
|---|---|
| RxInt | |
| TxInt | |
| InitDone | |
| IntFlag | |
| IntEnable | |
| TxDemand | |
| Stop | |
| Strt | |
| Init | |
| BablMask | |
| MissFrameMask | |
| MemErrMask | |
| RxIntMask | |
| TxIntMask | |
| InitDoneMask | |
Definition at line 158 of file pcnet32.h.
| FILE_LICENCE | ( | GPL2_OR_LATER | ) |