Lines Matching defs:fxp_softc
166 struct fxp_softc { struct
167 device_t sc_dev;
168 bus_space_tag_t sc_st; /* bus space tag */
169 bus_space_handle_t sc_sh; /* bus space handle */
170 bus_size_t sc_size; /* bus space size */
171 bus_dma_tag_t sc_dmat; /* bus dma tag */
172 struct ethercom sc_ethercom; /* ethernet common part */
173 void *sc_ih; /* interrupt handler cookie */
175 struct mii_data sc_mii; /* MII/media information */
176 struct callout sc_callout; /* MII callout */
183 bus_dmamap_t sc_dmamap;
189 struct fxp_txsoft sc_txsoft[FXP_NTXCB];
191 int sc_rfa_size; /* size of the RFA structure */
192 struct ifqueue sc_rxq; /* receive buffer queue */
193 bus_dmamap_t sc_rxmaps[FXP_NRFABUFS]; /* free receive buffer DMA maps */
194 int sc_rxfree; /* free map index */
195 int sc_rxidle; /* # of seconds RX has been idle */
196 uint16_t sc_txcmd; /* transmit command (LITTLE ENDIAN) */
201 struct fxp_control_data *sc_control_data;
204 struct evcnt sc_ev_txstall; /* Tx stalled */
205 struct evcnt sc_ev_txintr; /* Tx interrupts */
206 struct evcnt sc_ev_rxintr; /* Rx interrupts */
207 struct evcnt sc_ev_txpause; /* Tx PAUSE frames */
208 struct evcnt sc_ev_rxpause; /* Rx PAUSE frames */
211 bus_dma_segment_t sc_cdseg; /* control dma segment */
212 int sc_cdnseg;
214 int sc_rev; /* chip revision */
215 int sc_flags; /* misc. flags */
241 int (*sc_enable)(struct fxp_softc *); argument
242 void (*sc_disable)(struct fxp_softc *); argument
244 int sc_eeprom_size; /* log2 size of EEPROM */
245 krndsource_t rnd_source; /* random source */