Lines Matching defs:admsw_softc
118 struct admsw_softc { struct
119 device_t sc_dev; /* generic device information */
120 uint8_t sc_enaddr[ETHER_ADDR_LEN];
121 bus_dma_tag_t sc_dmat; /* bus DMA tag */
122 bus_space_tag_t sc_st; /* bus space tag */
123 bus_space_handle_t sc_ioh; /* MAC space handle */
124 struct sysmon_wdog sc_smw;
125 struct ifmedia sc_ifmedia[SW_DEVS];
126 int ndevs; /* number of IFF_RUNNING interfaces */
127 struct ethercom sc_ethercom[SW_DEVS]; /* Ethernet common data */
128 void *sc_sdhook; /* shutdown hook */
129 void *sc_ih; /* interrupt cookie */
130 struct admsw_descsoft sc_txhsoft[ADMSW_NTXHDESC];
131 struct admsw_descsoft sc_rxhsoft[ADMSW_NRXHDESC];
132 struct admsw_descsoft sc_txlsoft[ADMSW_NTXLDESC];
133 struct admsw_descsoft sc_rxlsoft[ADMSW_NRXLDESC];
134 bus_dmamap_t sc_cddmamap; /* control data DMA map */
136 struct admsw_control_data *sc_control_data;
142 int sc_txfree; /* number of free Tx descriptors */
143 int sc_txnext; /* next Tx descriptor to use */
144 int sc_txdirty; /* first dirty Tx descriptor */
146 int sc_rxptr; /* next ready Rx descriptor */
149 struct evcnt sc_ev_txstall; /* Tx stalled */
150 struct evcnt sc_ev_rxstall; /* Rx stalled */
151 struct evcnt sc_ev_txintr; /* Tx interrupts */
152 struct evcnt sc_ev_rxintr; /* Rx interrupts */
154 struct evcnt sc_ev_rxsync; /* Rx syncs */