Lines Matching defs:temac_softc
140 struct temac_softc { struct
141 device_t sc_dev;
142 struct ethercom sc_ec;
146 bus_space_tag_t sc_iot;
147 bus_space_handle_t sc_ioh;
150 bus_space_tag_t sc_dma_rxt;
151 bus_space_handle_t sc_dma_rxh; /* Rx channel */
152 bus_space_handle_t sc_dma_rsh; /* Rx status */
154 bus_space_tag_t sc_dma_txt;
155 bus_space_handle_t sc_dma_txh; /* Tx channel */
156 bus_space_handle_t sc_dma_tsh; /* Tx status */
158 struct temac_txsoft sc_txsoft[TEMAC_TXQLEN];
159 struct temac_rxsoft sc_rxsoft[TEMAC_NRXDESC];
161 struct callout sc_rx_timo;
162 struct callout sc_mii_tick;
163 struct mii_data sc_mii;
165 bus_dmamap_t sc_control_dmap;
168 struct temac_control *sc_control_data;
172 int sc_txbusy;
174 int sc_txfree;
175 int sc_txcur;
176 int sc_txreap;
178 int sc_rxreap;
180 int sc_txsfree;
181 int sc_txscur;
182 int sc_txsreap;
184 int sc_dead; /* Rx/Tx DMA error (fatal) */
185 int sc_rx_drained;
187 int sc_rx_chan;
188 int sc_tx_chan;
190 void *sc_sdhook;
191 void *sc_rx_ih;
192 void *sc_tx_ih;
194 bus_dma_tag_t sc_dmat;