Lines Matching defs:cas_softc
128 struct cas_softc { struct
129 if_t sc_ifp;
130 struct mtx sc_mtx;
131 device_t sc_miibus;
132 struct mii_data *sc_mii; /* MII media control */
133 device_t sc_dev; /* generic device information */
134 u_char sc_enaddr[ETHER_ADDR_LEN];
135 struct callout sc_tick_ch; /* tick callout */
136 struct callout sc_rx_ch; /* delayed RX callout */
137 struct task sc_intr_task;
138 struct task sc_tx_task;
139 struct taskqueue *sc_tq;
140 u_int sc_wdog_timer; /* watchdog timer */
142 void *sc_ih;
143 struct resource *sc_res[2];
147 bus_dma_tag_t sc_pdmatag; /* parent bus DMA tag */
148 bus_dma_tag_t sc_rdmatag; /* RX bus DMA tag */
149 bus_dma_tag_t sc_tdmatag; /* TX bus DMA tag */
150 bus_dma_tag_t sc_cdmatag; /* control data bus DMA tag */
151 bus_dmamap_t sc_dmamap; /* bus DMA handle */
153 u_int sc_variant;
159 u_int sc_flags;
167 bus_dmamap_t sc_cddmamap; /* control data DMA map */
168 bus_addr_t sc_cddma;
173 struct cas_txsoft sc_txsoft[CAS_TXQUEUELEN];
174 struct cas_rxdsoft sc_rxdsoft[CAS_NRXDESC];
179 struct cas_control_data *sc_control_data;
185 u_int sc_txfree; /* number of free TX descriptors */
186 u_int sc_txnext; /* next ready TX descriptor */
187 u_int sc_txwin; /* TX desc. since last TX intr. */
189 struct cas_txsq sc_txfreeq; /* free software TX descriptors */
190 struct cas_txsq sc_txdirtyq; /* dirty software TX descriptors */
192 u_int sc_rxcptr; /* next ready RX completion */
193 u_int sc_rxdptr; /* next ready RX descriptor */
195 uint32_t sc_mac_rxcfg; /* RX MAC conf. % CAS_MAC_RX_CONF_EN */
197 int sc_ifflags;