Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/cas/if_casvar.h
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Lines | struct cas_rxdsoft { | ||||
bus_addr_t rxds_paddr; /* physical address of the segment */ | bus_addr_t rxds_paddr; /* physical address of the segment */ | ||||
u_int rxds_refcount; /* hardware + mbuf references */ | u_int rxds_refcount; /* hardware + mbuf references */ | ||||
}; | }; | ||||
/* | /* | ||||
* software state per device | * software state per device | ||||
*/ | */ | ||||
struct cas_softc { | struct cas_softc { | ||||
struct ifnet *sc_ifp; | if_t sc_ifp; | ||||
struct mtx sc_mtx; | struct mtx sc_mtx; | ||||
device_t sc_miibus; | device_t sc_miibus; | ||||
struct mii_data *sc_mii; /* MII media control */ | struct mii_data *sc_mii; /* MII media control */ | ||||
device_t sc_dev; /* generic device information */ | device_t sc_dev; /* generic device information */ | ||||
u_char sc_enaddr[ETHER_ADDR_LEN]; | u_char sc_enaddr[ETHER_ADDR_LEN]; | ||||
struct callout sc_tick_ch; /* tick callout */ | struct callout sc_tick_ch; /* tick callout */ | ||||
struct callout sc_rx_ch; /* delayed RX callout */ | struct callout sc_rx_ch; /* delayed RX callout */ | ||||
struct task sc_intr_task; | struct task sc_intr_task; | ||||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |