Lines Matching defs:ste_softc
118 struct ste_softc { struct
119 device_t sc_dev; /* generic device information */
120 bus_space_tag_t sc_st; /* bus space tag */
121 bus_space_handle_t sc_sh; /* bus space handle */
122 bus_dma_tag_t sc_dmat; /* bus DMA tag */
123 struct ethercom sc_ethercom; /* ethernet common data */
125 void *sc_ih; /* interrupt cookie */
127 struct mii_data sc_mii; /* MII/media information */
129 callout_t sc_tick_ch; /* tick callout */
131 bus_dmamap_t sc_cddmamap; /* control data DMA map */
137 struct ste_descsoft sc_txsoft[STE_NTXDESC];
138 struct ste_descsoft sc_rxsoft[STE_NRXDESC];
143 struct ste_control_data *sc_control_data;
147 int sc_txpending; /* number of Tx requests pending */
148 int sc_txdirty; /* first dirty Tx descriptor */
149 int sc_txlast; /* last used Tx descriptor */
151 int sc_rxptr; /* next ready Rx descriptor/descsoft */
153 int sc_txthresh; /* Tx threshold */
154 uint32_t sc_DMACtrl; /* prototype DMACtrl register */
155 uint16_t sc_IntEnable; /* prototype IntEnable register */
156 uint16_t sc_MacCtrl0; /* prototype MacCtrl0 register */
157 uint8_t sc_ReceiveMode; /* prototype ReceiveMode register */
159 bool sc_enable_phy0; /* access to phy #0 allowed */