Lines Matching defs:sonic_softc
148 struct sonic_softc { struct
149 device_t sc_dev; /* generic device information */
150 bus_space_tag_t sc_st; /* bus space tag */
151 bus_space_handle_t sc_sh; /* bus space handle */
152 bus_dma_tag_t sc_dmat; /* bus DMA tag */
153 struct ethercom sc_ethercom; /* ethernet common data */
155 int sc_32bit; /* use 32-bit mode */
156 int sc_bigendian; /* BMODE -> Vcc */
159 bus_addr_t sc_regmap[SONIC_NREGS];
161 bus_dmamap_t sc_cddmamap; /* control data DMA map */
163 bus_dmamap_t sc_nulldmamap; /* DMA map for the pad buffer */
169 struct sonic_descsoft sc_txsoft[SONIC_NTXDESC];
170 struct sonic_descsoft sc_rxsoft[SONIC_NRXDESC];
175 union {
178 } sc_cdun;
194 int sc_txpending; /* number of Tx requests pending */
195 int sc_txdirty; /* first dirty Tx descriptor */
196 int sc_txlast; /* last used Tx descriptor */
198 int sc_rxptr; /* next ready Rx descriptor */
200 uint16_t sc_imr; /* prototype IMR */
201 uint16_t sc_dcr; /* prototype DCR */
202 uint16_t sc_dcr2; /* prototype DCR2 */
204 krndsource_t sc_rndsource; /* random source */