Home
last modified time | relevance | path

Searched refs:sc_media (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/powerpc/ps3/
H A Dif_glc.c263 ifmedia_init(&sc->sc_media, IFM_IMASK, glc_media_change, in glc_attach()
265 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_10_T, 0, NULL); in glc_attach()
266 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_10_T | IFM_FDX, 0, NULL); in glc_attach()
267 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_100_TX, 0, NULL); in glc_attach()
268 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_100_TX | IFM_FDX, 0, NULL); in glc_attach()
269 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_1000_T | IFM_FDX, 0, NULL); in glc_attach()
270 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_AUTO, 0, NULL); in glc_attach()
271 ifmedia_set(&sc->sc_media, IFM_ETHER | IFM_AUTO); in glc_attach()
491 err = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); in glc_ioctl()
927 if (IFM_TYPE(sc->sc_media.ifm_media) != IFM_ETHER) in glc_media_change()
[all …]
H A Dif_glcreg.h82 struct ifmedia sc_media; member
/freebsd/sys/dev/le/
H A Dlance.c128 ifmedia_init(&sc->sc_media, 0, lance_mediachange, lance_mediastatus); in lance_config()
131 ifmedia_add(&sc->sc_media, sc->sc_supmedia[i], 0, NULL); in lance_config()
132 ifmedia_set(&sc->sc_media, sc->sc_defaultmedia); in lance_config()
134 ifmedia_add(&sc->sc_media, in lance_config()
136 ifmedia_set(&sc->sc_media, in lance_config()
561 error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); in lance_ioctl()
H A Dlancevar.h41 struct ifmedia sc_media; member
H A Dif_le_pci.c201 struct ifmedia *ifm = &sc->sc_media; in le_pci_mediachange()
/freebsd/sys/dev/usb/net/
H A Dif_cdcereg.h91 struct ifmedia sc_media; member
H A Dif_cdce.c590 ifmedia_init(&sc->sc_media, IFM_IMASK, cdce_media_change_cb, in cdce_attach_post_sub()
592 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_AUTO, 0, NULL); in cdce_attach_post_sub()
593 ifmedia_set(&sc->sc_media, IFM_ETHER | IFM_AUTO); in cdce_attach_post_sub()
594 sc->sc_media.ifm_media = sc->sc_media.ifm_cur->ifm_media; in cdce_attach_post_sub()
792 ifmedia_removeall(&sc->sc_media); in cdce_detach()
822 error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, command); in cdce_ioctl()
/freebsd/sys/dev/fxp/
H A Dif_fxpvar.h209 struct ifmedia sc_media; /* media information */ member
H A Dif_fxp.c442 ifmedia_init(&sc->sc_media, 0, fxp_serial_ifmedia_upd, in fxp_attach()
813 ifmedia_add(&sc->sc_media, IFM_ETHER|IFM_MANUAL, 0, NULL); in fxp_attach()
814 ifmedia_set(&sc->sc_media, IFM_ETHER|IFM_MANUAL); in fxp_attach()
939 ifmedia_removeall(&sc->sc_media); in fxp_release()
2870 error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, command); in fxp_ioctl()
/freebsd/sys/net/
H A Dif_lagg.h242 struct ifmedia sc_media; /* media config */ member
H A Dif_lagg.c560 ifmedia_init(&sc->sc_media, 0, lagg_media_change, in lagg_clone_create()
562 ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_AUTO, 0, NULL); in lagg_clone_create()
563 ifmedia_set(&sc->sc_media, IFM_ETHER | IFM_AUTO); in lagg_clone_create()
642 ifmedia_removeall(&sc->sc_media); in lagg_clone_destroy()
1711 error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); in lagg_ioctl()
/freebsd/sys/dev/xen/netback/
H A Dnetback.c394 struct ifmedia sc_media; member
1193 ifmedia_init(&xnb->sc_media, 0, xnb_ifmedia_upd, xnb_ifmedia_sts); in create_netdev()
1194 ifmedia_add(&xnb->sc_media, IFM_ETHER|IFM_MANUAL, 0, NULL); in create_netdev()
1195 ifmedia_set(&xnb->sc_media, IFM_ETHER|IFM_MANUAL); in create_netdev()
2300 error = ifmedia_ioctl(ifp, ifr, &xnb->sc_media, cmd); in xnb_ioctl()
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c232 struct ifmedia sc_media; member
1958 error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd); in xn_ioctl()
2309 ifmedia_init(&np->sc_media, 0, xn_ifmedia_upd, xn_ifmedia_sts); in create_netdev()
2310 ifmedia_add(&np->sc_media, IFM_ETHER|IFM_MANUAL, 0, NULL); in create_netdev()
2311 ifmedia_set(&np->sc_media, IFM_ETHER|IFM_MANUAL); in create_netdev()
2390 ifmedia_removeall(&np->sc_media); in netif_free()