Lines Matching defs:gem_softc
106 struct gem_softc { struct
107 if_t sc_ifp;
108 struct mtx sc_mtx;
109 device_t sc_miibus;
110 struct mii_data *sc_mii; /* MII media control */
111 device_t sc_dev; /* generic device information */
112 u_char sc_enaddr[ETHER_ADDR_LEN];
113 struct callout sc_tick_ch; /* tick callout */
114 struct callout sc_rx_ch; /* delayed RX callout */
115 u_int sc_wdog_timer; /* watchdog timer */
117 void *sc_ih;
118 struct resource *sc_res[2];
122 bus_dma_tag_t sc_pdmatag; /* parent bus DMA tag */
123 bus_dma_tag_t sc_rdmatag; /* RX bus DMA tag */
124 bus_dma_tag_t sc_tdmatag; /* TX bus DMA tag */
125 bus_dma_tag_t sc_cdmatag; /* control data bus DMA tag */
126 bus_dmamap_t sc_dmamap; /* bus DMA handle */
128 u_int sc_variant;
138 u_int sc_flags;
147 bus_dmamap_t sc_cddmamap; /* control data DMA map */
148 bus_addr_t sc_cddma;
153 struct gem_txsoft sc_txsoft[GEM_TXQUEUELEN];
154 struct gem_rxsoft sc_rxsoft[GEM_NRXDESC];
159 struct gem_control_data *sc_control_data;
163 u_int sc_txfree; /* number of free TX descriptors */
164 u_int sc_txnext; /* next ready TX descriptor */
165 u_int sc_txwin; /* TX desc. since last TX intr. */
167 struct gem_txsq sc_txfreeq; /* free TX descsofts */
168 struct gem_txsq sc_txdirtyq; /* dirty TX descsofts */
170 u_int sc_rxptr; /* next ready RX descriptor/state */
171 u_int sc_rxfifosize; /* RX FIFO size (bytes) */
173 uint32_t sc_mac_rxcfg; /* RX MAC conf. % GEM_MAC_RX_ENABLE */
175 int sc_ifflags;
176 u_long sc_csum_features;