Changeset View
Changeset View
Standalone View
Standalone View
sys/net/iflib.h
Show First 20 Lines • Show All 222 Lines • ▼ Show 20 Lines | typedef struct if_softc_ctx { | ||||
iflib_intr_mode_t isc_intr; | iflib_intr_mode_t isc_intr; | ||||
uint16_t isc_max_frame_size; /* set at init time by driver */ | uint16_t isc_max_frame_size; /* set at init time by driver */ | ||||
uint16_t isc_min_frame_size; /* set at init time by driver, only used if | uint16_t isc_min_frame_size; /* set at init time by driver, only used if | ||||
IFLIB_NEED_ETHER_PAD is set. */ | IFLIB_NEED_ETHER_PAD is set. */ | ||||
uint32_t isc_pause_frames; /* set by driver for iflib_timer to detect */ | uint32_t isc_pause_frames; /* set by driver for iflib_timer to detect */ | ||||
pci_vendor_info_t isc_vendor_info; /* set by iflib prior to attach_pre */ | pci_vendor_info_t isc_vendor_info; /* set by iflib prior to attach_pre */ | ||||
int isc_disable_msix; | int isc_disable_msix; | ||||
if_txrx_t isc_txrx; | if_txrx_t isc_txrx; | ||||
struct ifmedia *isc_media; | |||||
} *if_softc_ctx_t; | } *if_softc_ctx_t; | ||||
/* | /* | ||||
* Initialization values for device | * Initialization values for device | ||||
*/ | */ | ||||
struct if_shared_ctx { | struct if_shared_ctx { | ||||
unsigned isc_magic; | unsigned isc_magic; | ||||
driver_t *isc_driver; | driver_t *isc_driver; | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |