Lines Matching defs:aumac_softc
116 struct aumac_softc { struct
117 device_t sc_dev; /* generic device information */
118 bus_space_tag_t sc_st; /* bus space tag */
119 bus_space_handle_t sc_mac_sh; /* MAC space handle */
120 bus_space_handle_t sc_macen_sh; /* MAC enable space handle */
121 bus_space_handle_t sc_dma_sh; /* DMA space handle */
122 struct ethercom sc_ethercom; /* Ethernet common data */
123 void *sc_sdhook; /* shutdown hook */
125 int sc_irq;
126 void *sc_ih; /* interrupt cookie */
128 struct mii_data sc_mii; /* MII/media information */
130 struct callout sc_tick_ch; /* tick callout */
133 struct aumac_buf sc_txbufs[AUMAC_NTXDESC];
134 struct aumac_buf sc_rxbufs[AUMAC_NRXDESC];
135 void *sc_bufaddr;
137 int sc_txfree; /* number of free Tx descriptors */
138 int sc_txnext; /* next Tx descriptor to use */
139 int sc_txdirty; /* first dirty Tx descriptor */
141 int sc_rxptr; /* next ready Rx descriptor */
143 krndsource_t rnd_source;
146 struct evcnt sc_ev_txstall; /* Tx stalled */
147 struct evcnt sc_ev_rxstall; /* Rx stalled */
148 struct evcnt sc_ev_txintr; /* Tx interrupts */
149 struct evcnt sc_ev_rxintr; /* Rx interrupts */
152 uint32_t sc_control; /* MAC_CONTROL contents */
153 uint32_t sc_flowctrl; /* MAC_FLOWCTRL contents */