Lines Matching defs:ralink_eth_softc
163 typedef struct ralink_eth_softc { struct
164 device_t sc_dev; /* generic device information */
165 bus_space_tag_t sc_memt; /* bus space tag */
166 bus_space_handle_t sc_sy_memh; /* handle at SYSCTL_BASE */
167 bus_space_handle_t sc_fe_memh; /* handle at FRAME_ENGINE_BASE */
168 bus_space_handle_t sc_sw_memh; /* handle at ETH_SW_BASE */
169 int sc_sy_size; /* size of Sysctl regs space */
170 int sc_fe_size; /* size of Frame Engine regs space */
171 int sc_sw_size; /* size of Ether Switch regs space */
172 bus_dma_tag_t sc_dmat; /* bus DMA tag */
173 void *sc_ih; /* interrupt handle */
176 bus_dma_segment_t sc_dseg;
177 int sc_ndseg;
178 bus_dmamap_t sc_pdmamap; /* PDMA DMA map */
181 struct ralink_descs *sc_descs;
186 char ralink_zero_buf[RALINK_MIN_BUF];
188 struct ralink_eth_txstate sc_txstate[RALINK_ETH_NUM_TX_DESC];
189 struct ralink_eth_rxstate sc_rxstate[RALINK_ETH_NUM_RX_DESC];
191 struct ralink_eth_txsq sc_txfreeq; /* free Tx descsofts */
192 struct ralink_eth_txsq sc_txdirtyq; /* dirty Tx descsofts */
216 } ralink_eth_softc_t; argument