This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | dp_rcvhdr |
| struct | iovec_dat |
| struct | dpeth |
| struct | dpeth::sendq |
Defines | |
| #define | DP_CR 0x0 |
| #define | DP_CLDA0 0x1 |
| #define | DP_CLDA1 0x2 |
| #define | DP_BNRY 0x3 |
| #define | DP_TSR 0x4 |
| #define | DP_NCR 0x5 |
| #define | DP_FIFO 0x6 |
| #define | DP_ISR 0x7 |
| #define | DP_CRDA0 0x8 |
| #define | DP_CRDA1 0x9 |
| #define | DP_DUM1 0xA |
| #define | DP_DUM2 0xB |
| #define | DP_RSR 0xC |
| #define | DP_CNTR0 0xD |
| #define | DP_CNTR1 0xE |
| #define | DP_CNTR2 0xF |
| #define | DP_CR 0x0 |
| #define | DP_PSTART 0x1 |
| #define | DP_PSTOP 0x2 |
| #define | DP_BNRY 0x3 |
| #define | DP_TPSR 0x4 |
| #define | DP_TBCR0 0x5 |
| #define | DP_TBCR1 0x6 |
| #define | DP_ISR 0x7 |
| #define | DP_RSAR0 0x8 |
| #define | DP_RSAR1 0x9 |
| #define | DP_RBCR0 0xA |
| #define | DP_RBCR1 0xB |
| #define | DP_RCR 0xC |
| #define | DP_TCR 0xD |
| #define | DP_DCR 0xE |
| #define | DP_IMR 0xF |
| #define | DP_CR 0x0 |
| #define | DP_PAR0 0x1 |
| #define | DP_PAR1 0x2 |
| #define | DP_PAR2 0x3 |
| #define | DP_PAR3 0x4 |
| #define | DP_PAR4 0x5 |
| #define | DP_PAR5 0x6 |
| #define | DP_CURR 0x7 |
| #define | DP_MAR0 0x8 |
| #define | DP_MAR1 0x9 |
| #define | DP_MAR2 0xA |
| #define | DP_MAR3 0xB |
| #define | DP_MAR4 0xC |
| #define | DP_MAR5 0xD |
| #define | DP_MAR6 0xE |
| #define | DP_MAR7 0xF |
| #define | CR_STP 0x01 |
| #define | CR_STA 0x02 |
| #define | CR_TXP 0x04 |
| #define | CR_DMA 0x38 |
| #define | CR_DM_NOP 0x00 |
| #define | CR_DM_RR 0x08 |
| #define | CR_DM_RW 0x10 |
| #define | CR_DM_SP 0x18 |
| #define | CR_DM_ABORT 0x20 |
| #define | CR_PS 0xC0 |
| #define | CR_PS_P0 0x00 |
| #define | CR_PS_P1 0x40 |
| #define | CR_PS_P2 0x80 |
| #define | CR_PS_T1 0xC0 |
| #define | ISR_PRX 0x01 |
| #define | ISR_PTX 0x02 |
| #define | ISR_RXE 0x04 |
| #define | ISR_TXE 0x08 |
| #define | ISR_OVW 0x10 |
| #define | ISR_CNT 0x20 |
| #define | ISR_RDC 0x40 |
| #define | ISR_RST 0x80 |
| #define | IMR_PRXE 0x01 |
| #define | IMR_PTXE 0x02 |
| #define | IMR_RXEE 0x04 |
| #define | IMR_TXEE 0x08 |
| #define | IMR_OVWE 0x10 |
| #define | IMR_CNTE 0x20 |
| #define | IMR_RDCE 0x40 |
| #define | DCR_WTS 0x01 |
| #define | DCR_BYTEWIDE 0x00 |
| #define | DCR_WORDWIDE 0x01 |
| #define | DCR_BOS 0x02 |
| #define | DCR_LTLENDIAN 0x00 |
| #define | DCR_BIGENDIAN 0x02 |
| #define | DCR_LAS 0x04 |
| #define | DCR_BMS 0x08 |
| #define | DCR_AR 0x10 |
| #define | DCR_FTS 0x60 |
| #define | DCR_2BYTES 0x00 |
| #define | DCR_4BYTES 0x40 |
| #define | DCR_8BYTES 0x20 |
| #define | DCR_12BYTES 0x60 |
| #define | TCR_CRC 0x01 |
| #define | TCR_ELC 0x06 |
| #define | TCR_NORMAL 0x00 |
| #define | TCR_INTERNAL 0x02 |
| #define | TCR_0EXTERNAL 0x04 |
| #define | TCR_1EXTERNAL 0x06 |
| #define | TCR_ATD 0x08 |
| #define | TCR_OFST 0x10 |
| #define | TSR_PTX 0x01 |
| #define | TSR_DFR 0x02 |
| #define | TSR_COL 0x04 |
| #define | TSR_ABT 0x08 |
| #define | TSR_CRS 0x10 |
| #define | TSR_FU 0x20 |
| #define | TSR_CDH 0x40 |
| #define | TSR_OWC 0x80 |
| #define | RCR_SEP 0x01 |
| #define | RCR_AR 0x02 |
| #define | RCR_AB 0x04 |
| #define | RCR_AM 0x08 |
| #define | RCR_PRO 0x10 |
| #define | RCR_MON 0x20 |
| #define | RSR_PRX 0x01 |
| #define | RSR_CRC 0x02 |
| #define | RSR_FAE 0x04 |
| #define | RSR_FO 0x08 |
| #define | RSR_MPA 0x10 |
| #define | RSR_PHY 0x20 |
| #define | RSR_DIS 0x40 |
| #define | RSR_DFR 0x80 |
| #define | DP_PAGESIZE 256 |
| #define | inb_reg0(dep, reg) (inb(dep->de_dp8390_port+reg)) |
| #define | outb_reg0(dep, reg, data) (outb(dep->de_dp8390_port+reg, data)) |
| #define | inb_reg1(dep, reg) (inb(dep->de_dp8390_port+reg)) |
| #define | outb_reg1(dep, reg, data) (outb(dep->de_dp8390_port+reg, data)) |
| #define | IOVEC_NR 16 |
| #define | SENDQ_NR 2 |
| #define | SENDQ_PAGES 6 |
| #define | DEI_DEFAULT 0x8000 |
| #define | DEF_EMPTY 0x000 |
| #define | DEF_PACK_SEND 0x001 |
| #define | DEF_PACK_RECV 0x002 |
| #define | DEF_SEND_AVAIL 0x004 |
| #define | DEF_READING 0x010 |
| #define | DEF_PROMISC 0x040 |
| #define | DEF_MULTI 0x080 |
| #define | DEF_BROAD 0x100 |
| #define | DEF_ENABLED 0x200 |
| #define | DEF_STOPPED 0x400 |
| #define | DEM_DISABLED 0x0 |
| #define | DEM_SINK 0x1 |
| #define | DEM_ENABLED 0x2 |
| #define | debug 0 |
Typedefs | |
| typedef dp_rcvhdr | dp_rcvhdr_t |
| typedef int | irq_hook_t |
| typedef iovec_dat | iovec_dat_t |
| typedef dpeth | dpeth_t |
Functions | |
| _PROTOTYPE (typedef void(*dp_initf_t),(struct dpeth *dep)) | |
| _PROTOTYPE (typedef void(*dp_user2nicf_t),(struct dpeth *dep, struct iovec_dat *iovp, vir_bytes offset, int nic_addr, vir_bytes count)) | |
| _PROTOTYPE (typedef void(*dp_nic2userf_t),(struct dpeth *dep, int nic_addr, struct iovec_dat *iovp, vir_bytes offset, vir_bytes count)) | |
| _PROTOTYPE (typedef void(*dp_getblock_t),(struct dpeth *dep, int page, size_t offset, size_t size, void *dst)) | |
|
|
Definition at line 72 of file dp8390.h. Referenced by do_stop(), dp_init(), dp_reset(), el2_init(), and ne_probe(). |
|
|
|
|
|
Definition at line 69 of file dp8390.h. Referenced by dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio8_getblock(), dp_pio8_nic2user(), ne_init(), ne_probe(), pio_getblock(), and pio_nic2user(). |
|
|
Definition at line 70 of file dp8390.h. Referenced by dp_pio16_user2nic(), dp_pio8_user2nic(), ns_rw_setup(), pio_user2nic(), test_16(), and test_8(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 74 of file dp8390.h. Referenced by dp_init(), dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_recv(), dp_reinit(), el2_init(), ne_init(), ne_probe(), ns_init(), ns_recv(), ns_reinit(), ns_rw_setup(), rtl_init(), test_16(), and test_8(). |
|
|
Definition at line 75 of file dp8390.h. Referenced by dp_init(), dp_recv(), ne_probe(), ns_init(), and ns_recv(). |
|
|
Definition at line 76 of file dp8390.h. Referenced by el2_init(). |
|
|
|
|
|
Definition at line 65 of file dp8390.h. Referenced by dp_init(), dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_reset(), ne_init(), ne_probe(), ns_init(), ns_recv(), ns_reset(), ns_rw_setup(), ns_start_xmit(), test_16(), and test_8(). |
|
|
Definition at line 64 of file dp8390.h. Referenced by do_stop(), dp_init(), dp_reset(), el2_init(), ne_probe(), ns_init(), and ns_reset(). |
|
|
Definition at line 66 of file dp8390.h. Referenced by do_vwrite(), dp_check_ints(), and ns_start_xmit(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 113 of file dp8390.h. Referenced by dp_init(), ne_probe(), and ns_init(). |
|
|
|
|
|
|
|
|
Definition at line 106 of file dp8390.h. Referenced by dp_init(), ne_probe(), and ns_init(). |
|
|
|
|
|
Definition at line 100 of file dp8390.h. Referenced by dp_init(), ne_probe(), and ns_init(). |
|
|
|
|
|
|
|
|
Definition at line 103 of file dp8390.h. Referenced by ns_init(). |
|
|
Definition at line 101 of file dp8390.h. Referenced by dp_init(), ne_probe(), and ns_init(). |
|
|
Definition at line 99 of file dp8390.h. Referenced by el2_init(). |
|
|
|
|
|
Definition at line 283 of file dp8390.h. Referenced by do_init(), dp_init(), dp_reinit(), el1_mode_init(), el3_rx_mode(), ns_init(), and ns_reinit(). |
|
|
Definition at line 276 of file dp8390.h. Referenced by conf_hw(), do_init(), do_stop(), and dp_init(). |
|
|
Definition at line 284 of file dp8390.h. Referenced by do_init(), do_stop(), ns_recv(), and we_init(). |
|
|
Definition at line 282 of file dp8390.h. Referenced by do_init(), dp_init(), dp_reinit(), el1_mode_init(), el3_rx_mode(), ns_init(), and ns_reinit(). |
|
|
Definition at line 278 of file dp8390.h. Referenced by do_int(), dp_pkt2user(), and reply(). |
|
|
Definition at line 277 of file dp8390.h. Referenced by do_int(), do_vwrite(), and reply(). |
|
|
Definition at line 281 of file dp8390.h. Referenced by do_init(), dp_init(), dp_reinit(), el1_mode_init(), el3_rx_mode(), ns_init(), and ns_reinit(). |
|
|
Definition at line 280 of file dp8390.h. Referenced by do_vread(), dp_check_ints(), dp_pkt2user(), el1_recv(), el3_recv(), ns_interrupt(), and ns_recv(). |
|
|
Definition at line 279 of file dp8390.h. Referenced by do_vwrite(), dp_check_ints(), and dp_send(). |
|
|
Definition at line 285 of file dp8390.h. Referenced by do_vread(), dp_check_ints(), dp_reset(), ns_interrupt(), and ns_recv(). |
|
|
Definition at line 274 of file dp8390.h. Referenced by el1_init(), el2_init(), el3_open(), update_conf(), and we_init(). |
|
|
Definition at line 287 of file dp8390.h. Referenced by conf_hw(), do_dump(), do_init(), do_stop(), and update_conf(). |
|
|
Definition at line 289 of file dp8390.h. Referenced by conf_hw(), do_getstat(), do_init(), do_stop(), do_vread(), do_vwrite(), dp8390_stop(), main(), update_conf(), and we_init(). |
|
|
Definition at line 288 of file dp8390.h. Referenced by do_getstat(), do_init(), do_stop(), do_vread(), do_vwrite(), and update_conf(). |
|
|
|
|
|
Definition at line 31 of file dp8390.h. Referenced by dp_init(), dp_recv(), ns_init(), and ns_recv(). |
|
|
|
|
|
|
|
|
Definition at line 23 of file dp8390.h. Referenced by do_getstat(), dp_check_ints(), dp_init(), ne_probe(), ns_init(), ns_interrupt(), and ns_stats(). |
|
|
Definition at line 24 of file dp8390.h. Referenced by do_getstat(), dp_check_ints(), dp_init(), ns_init(), ns_interrupt(), and ns_stats(). |
|
|
Definition at line 25 of file dp8390.h. Referenced by do_getstat(), dp_check_ints(), dp_init(), ns_init(), ns_interrupt(), and ns_stats(). |
|
|
|
|
|
|
|
|
Definition at line 46 of file dp8390.h. Referenced by do_stop(), do_vwrite(), dp_check_ints(), dp_init(), dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_recv(), dp_reinit(), dp_reset(), ee_wds(), ee_wen(), el2_init(), get_ee_word(), ne_init(), ne_probe(), ns_init(), ns_recv(), ns_reinit(), ns_reset(), ns_rw_setup(), ns_start_xmit(), rtl_init(), test_16(), and test_8(). |
|
|
|
|
|
|
|
|
Definition at line 53 of file dp8390.h. Referenced by dp_init(), dp_recv(), ns_init(), and ns_recv(). |
|
|
Definition at line 42 of file dp8390.h. Referenced by dp_init(), el2_init(), ne_probe(), and ns_init(). |
|
|
Definition at line 20 of file dp8390.h. Referenced by rtl_init(). |
|
|
Definition at line 21 of file dp8390.h. Referenced by rtl_init(). |
|
|
|
|
|
Definition at line 43 of file dp8390.h. Referenced by dp_init(), ne_probe(), and ns_init(). |
|
|
|
|
|
Definition at line 35 of file dp8390.h. Referenced by dp_check_ints(), dp_init(), dp_pio16_user2nic(), dp_pio8_user2nic(), dp_reset(), ne_close(), ne_probe(), ne_reset(), ns_init(), ns_interrupt(), ns_reset(), ns_rw_setup(), pio_user2nic(), test_16(), and test_8(). |
|
|
|
|
|
Definition at line 55 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 56 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 57 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 58 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 59 of file dp8390.h. Referenced by dp_init(), and ne_probe(). |
|
|
Definition at line 60 of file dp8390.h. Referenced by dp_init(). |
|
|
|
|
|
|
|
|
Definition at line 163 of file dp8390.h. Referenced by do_vwrite(), dp_getblock(), dp_pio16_getblock(), dp_pio8_getblock(), dp_pkt2user(), el2_probe(), mem_nic2user(), mem_user2nic(), ne_init(), ns_recv(), pio_nic2user(), pio_user2nic(), and we_init(). |
|
|
|
|
|
Definition at line 48 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 49 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 50 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 51 of file dp8390.h. Referenced by dp_init(). |
|
|
Definition at line 52 of file dp8390.h. Referenced by dp_init(). |
|
|
|
|
|
|
|
|
Definition at line 38 of file dp8390.h. Referenced by dp_init(), dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_reset(), ne_init(), ne_probe(), ns_init(), ns_reset(), ns_rw_setup(), test_16(), and test_8(). |
|
|
Definition at line 39 of file dp8390.h. Referenced by dp_init(), dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_reset(), ne_init(), ne_probe(), ns_init(), ns_reset(), ns_rw_setup(), test_16(), and test_8(). |
|
|
Definition at line 40 of file dp8390.h. Referenced by dp_init(), dp_reinit(), ne_probe(), ns_init(), and ns_reinit(). |
|
|
Definition at line 36 of file dp8390.h. Referenced by dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), ne_init(), ne_probe(), ns_rw_setup(), test_16(), and test_8(). |
|
|
Definition at line 37 of file dp8390.h. Referenced by dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), ne_init(), ne_probe(), ns_rw_setup(), test_16(), and test_8(). |
|
|
Definition at line 22 of file dp8390.h. Referenced by ns_interrupt(). |
|
|
Definition at line 33 of file dp8390.h. Referenced by do_vwrite(), dp_check_ints(), and ns_start_xmit(). |
|
|
Definition at line 34 of file dp8390.h. Referenced by do_vwrite(), dp_check_ints(), and ns_start_xmit(). |
|
|
Definition at line 41 of file dp8390.h. Referenced by dp_init(), dp_reset(), ne_probe(), ns_init(), and ns_reset(). |
|
|
Definition at line 32 of file dp8390.h. Referenced by do_vwrite(), dp_check_ints(), and ns_start_xmit(). |
|
|
Definition at line 14 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 166 of file dp8390.h. Referenced by do_getstat(), dp_check_ints(), dp_init(), dp_pio16_user2nic(), dp_pio8_user2nic(), dp_recv(), dp_reset(), ne_probe(), ns_init(), ns_interrupt(), ns_recv(), ns_reset(), ns_stats(), pio_user2nic(), rtl_init(), and test_8(). |
|
|
|
|
|
Definition at line 191 of file dp8390.h. Referenced by calc_iovec_size(), do_vread(), do_vwrite(), dp_next_iovec(), dp_nic2user(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_user2nic(), ec_next_iovec(), ec_nic2user(), ec_user2nic(), el3_write_fifo(), eth_write_port(), fxp_readv(), fxp_writev(), get_userdata(), mem2user(), mem_nic2user(), mem_user2nic(), pio_nic2user(), pio_user2nic(), rl_readv(), rl_writev(), and user2mem(). |
|
|
Definition at line 85 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 84 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 80 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 81 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 86 of file dp8390.h. Referenced by dp_check_ints(), dp_pio16_user2nic(), dp_pio8_user2nic(), dp_reset(), ns_interrupt(), ns_reset(), ns_rw_setup(), pio_user2nic(), and test_8(). |
|
|
Definition at line 87 of file dp8390.h. Referenced by dp_check_ints(), dp_reset(), ec_check_ints(), ne_probe(), ne_reset(), ns_interrupt(), and ns_reset(). |
|
|
Definition at line 82 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 83 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 167 of file dp8390.h. Referenced by do_stop(), do_vwrite(), dp_check_ints(), dp_init(), dp_pio16_getblock(), dp_pio16_nic2user(), dp_pio16_user2nic(), dp_pio8_getblock(), dp_pio8_nic2user(), dp_pio8_user2nic(), dp_recv(), dp_reinit(), dp_reset(), ee_wds(), ee_wen(), get_ee_word(), ne_init(), ne_probe(), ns_init(), ns_interrupt(), ns_recv(), ns_reinit(), ns_reset(), ns_rw_setup(), ns_start_xmit(), rtl_init(), test_16(), and test_8(). |
|
|
|
|
|
Definition at line 140 of file dp8390.h. Referenced by dp_init(), dp_reinit(), ns_init(), and ns_reinit(). |
|
|
Definition at line 141 of file dp8390.h. Referenced by dp_init(), dp_reinit(), ns_init(), and ns_reinit(). |
|
|
|
|
|
Definition at line 143 of file dp8390.h. Referenced by ne_probe(), and ns_init(). |
|
|
Definition at line 142 of file dp8390.h. Referenced by dp_init(), dp_reinit(), ns_init(), and ns_reinit(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 203 of file dp8390.h. Referenced by do_vwrite(), el2_init(), ne_init(), and we_init(). |
|
|
Definition at line 204 of file dp8390.h. Referenced by el2_init(), ne_init(), and we_init(). |
|
|
|
|
|
Definition at line 122 of file dp8390.h. Referenced by dp_reset(), and ns_reset(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 120 of file dp8390.h. Referenced by dp_init(), ne_probe(), and ns_init(). |
|
|
Definition at line 119 of file dp8390.h. Referenced by dp_init(), dp_reset(), ne_probe(), ns_init(), and ns_reset(). |
|
|
Definition at line 124 of file dp8390.h. Referenced by dp_reset(), and ns_reset(). |
|
|
Definition at line 131 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 134 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 130 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 132 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 128 of file dp8390.h. Referenced by dp_check_ints(). |
|
|
Definition at line 133 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 135 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
Definition at line 127 of file dp8390.h. Referenced by dp_check_ints(), and ns_interrupt(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
1.4.6