Changeset View
Changeset View
Standalone View
Standalone View
sys/net/iflib.h
Show First 20 Lines • Show All 321 Lines • ▼ Show 20 Lines | |||||
struct ifmedia *iflib_get_media(if_ctx_t ctx); | struct ifmedia *iflib_get_media(if_ctx_t ctx); | ||||
if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx); | if_softc_ctx_t iflib_get_softc_ctx(if_ctx_t ctx); | ||||
if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx); | if_shared_ctx_t iflib_get_sctx(if_ctx_t ctx); | ||||
void iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]); | void iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]); | ||||
void iflib_init_locked(if_ctx_t ctx); | |||||
void iflib_stop(if_ctx_t ctx); | |||||
/* | /* | ||||
* If the driver can plug cleanly in to newbus use these | * If the driver can plug cleanly in to newbus use these | ||||
*/ | */ | ||||
int iflib_device_probe(device_t); | int iflib_device_probe(device_t); | ||||
int iflib_device_attach(device_t); | int iflib_device_attach(device_t); | ||||
int iflib_device_detach(device_t); | int iflib_device_detach(device_t); | ||||
int iflib_device_suspend(device_t); | int iflib_device_suspend(device_t); | ||||
int iflib_device_resume(device_t); | int iflib_device_resume(device_t); | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |