Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/axgbe/if_axgbe_pci.c
Show First 20 Lines • Show All 552 Lines • ▼ Show 20 Lines | xgbe_init_all_fptrs(struct xgbe_prv_data *pdata) | ||||
xgbe_init_function_ptrs_desc(&pdata->desc_if); | xgbe_init_function_ptrs_desc(&pdata->desc_if); | ||||
pdata->vdata->init_function_ptrs_phy_impl(&pdata->phy_if); | pdata->vdata->init_function_ptrs_phy_impl(&pdata->phy_if); | ||||
} | } | ||||
static void | static void | ||||
axgbe_set_counts(if_ctx_t ctx) | axgbe_set_counts(if_ctx_t ctx) | ||||
{ | { | ||||
struct axgbe_if_softc *sc = iflib_get_softc(ctx);; | struct axgbe_if_softc *sc = iflib_get_softc(ctx); | ||||
struct xgbe_prv_data *pdata = &sc->pdata; | struct xgbe_prv_data *pdata = &sc->pdata; | ||||
cpuset_t lcpus; | cpuset_t lcpus; | ||||
int cpu_count, err; | int cpu_count, err; | ||||
size_t len; | size_t len; | ||||
/* Set all function pointers */ | /* Set all function pointers */ | ||||
xgbe_init_all_fptrs(pdata); | xgbe_init_all_fptrs(pdata); | ||||
▲ Show 20 Lines • Show All 1,844 Lines • Show Last 20 Lines |