/freebsd-10-stable/sys/dev/ixgbe/ |
H A D | if_ix.c | 952 error = ifmedia_ioctl(ifp, ifr, &adapter->media, command); 2006 * XXX: These need to use the proper media types once 2086 * media/mediopt option with ifconfig. 2092 struct ifmedia *ifm = &adapter->media; 2106 * media types of the adapter; ifmedia will take care of 2165 device_printf(adapter->dev, "Invalid media type!\n"); 2967 * Specify the media types supported by this adapter and register 2968 * callbacks to update media and link information 2970 ifmedia_init(&adapter->media, IFM_IMASK, ixgbe_media_change, 2976 /* Set autoselect media b [all...] |
/freebsd-10-stable/sys/dev/fe/ |
H A D | if_fevar.h | 36 /* Mapping between media bitmap (in fe_softc.mbitmap) and ifm_media. */ 113 struct ifmedia media; /* used by if_media. */ member in struct:fe_softc 114 u_short mbitmap; /* bitmap for supported media; see bit2media */ 115 int defmedia; /* default media */ 116 void (* msel)(struct fe_softc *); /* media selector. */
|
H A D | if_fe.c | 190 /* Mapping between media bitmap (in fe_softc.mbitmap) and ifm_media. */ 203 /* Mapping between media bitmap (in fe_softc.mbitmap) and ifm_media. */ 299 /* Assume the board has no software-controllable media selection. */ 323 * Generic media selection scheme for MB86965 based boards. 331 switch (IFM_SUBTYPE(sc->media.ifm_media)) { 799 ifmedia_init(&sc->media, 0, fe_medchange, fe_medstat); 802 ifmedia_add(&sc->media, bit2media[b], 0, NULL); 807 ifmedia_set(&sc->media, bit2media[b]); 1078 /* Select requested media, just before enabling DLC. */ 1131 /* TURNED OFF, because the semi-auto media probe [all...] |
/freebsd-10-stable/sys/dev/mii/ |
H A D | mii.c | 252 * Don't add a PHY that was automatically identified by having media 340 int media = 0; local 342 /* Poke the parent in case it has any media of its own to add. */ 347 media = m->ifm_media; 348 if (media == (IFM_ETHER | IFM_AUTO)) 352 ifmedia_set(&mii->mii_media, media); 454 * so we test for media in the BMSR. 551 * If the media indicates a different PHY instance, 593 * Get media status from PHYs.
|
H A D | e1000phy.c | 415 /* Update the media status. */ 487 e1000phy_mii_phy_auto(struct mii_softc *sc, int media) argument 496 if ((media & IFM_FLOW) != 0 ||
|
H A D | rgephy.c | 271 /* Update the media status. */ 276 * the DSP on the RealTek PHYs if the media changes. 416 rgephy_mii_phy_auto(struct mii_softc *sc, int media) argument 424 if ((media & IFM_FLOW) != 0 || (sc->mii_flags & MIIF_FORCEPAUSE) != 0)
|
/freebsd-10-stable/sys/dev/nve/ |
H A D | if_nvereg.h | 174 NV_UINT32 media; member in struct:nve_softc
|
/freebsd-10-stable/sys/dev/nxge/include/ |
H A D | xgehal-mgmt.h | 51 * @media: Fiber, copper. 70 char media[16]; member in struct:xge_hal_mgmt_about_info_t
|
H A D | xgehal-config.h | 478 * @media: Transponder type. 511 int media; member in struct:xge_hal_mac_config_t
|
/freebsd-10-stable/sys/dev/qlxgb/ |
H A D | qla_def.h | 149 struct ifmedia media; member in struct:qla_host
|
H A D | qla_os.c | 703 ifmedia_init(&ha->media, IFM_IMASK, qla_media_change, qla_media_status); 705 ifmedia_add(&ha->media, (IFM_ETHER | qla_get_optics(ha) | IFM_FDX), 0, 707 ifmedia_add(&ha->media, (IFM_ETHER | IFM_AUTO), 0, NULL); 709 ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO)); 907 ret = ifmedia_ioctl(ifp, ifr, &ha->media, cmd); 954 ifm = &ha->media;
|
/freebsd-10-stable/sys/dev/utopia/ |
H A D | utopia.h | 133 struct ifmedia *media; /* driver supplied */ member in struct:utopia
|
/freebsd-10-stable/sys/dev/patm/ |
H A D | if_patm_attach.c | 194 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UNKNOWN; 304 utopia_attach(&sc->utopia, IFP2IFATM(sc->ifp), &sc->media, &sc->mtx, 326 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UTP_25; 331 /* cannot really know which media */ 334 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_MM_155; 345 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UTP_25; 350 /* cannot really know which media */ 353 IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_MM_155;
|
/freebsd-10-stable/sbin/devd/ |
H A D | devd.cc | 329 media::media(config &, const char *var, const char *type) function in class:media 348 media::~media() 353 media::do_match(config &c) 368 devdlog(LOG_DEBUG, "Testing media type of %s against 0x%x\n", 380 devdlog(LOG_DEBUG, "%s has media type 0x%x\n", 384 devdlog(LOG_DEBUG, "%s has unknown media type\n", 1142 eps *e = new media(cfg, var, re);
|
/freebsd-10-stable/contrib/wpa/src/drivers/ |
H A D | driver_bsd.c | 218 bsd_set_if_media(void *priv, int media) argument 225 ifr.ifr_media = media; 239 int media = bsd_get_if_media(priv); local 241 if (media < 0) 243 media &= ~mask; 244 media |= mode; 245 if (bsd_set_if_media(priv, media) < 0)
|
/freebsd-10-stable/sys/mips/atheros/ |
H A D | if_arge.c | 452 * Get default media & duplex mode, by default its Base100T 456 "media", &hint) != 0) 841 uint32_t media, duplex; local 852 media = IFM_SUBTYPE(mii->mii_media_active); 853 if (media != IFM_NONE) { 856 ARGEDEBUG(sc, ARGE_DBG_MII, "%s: media=%d, duplex=%d\n", 858 media, 860 arge_set_pll(sc, media, duplex); 868 arge_set_pll(struct arge_softc *sc, int media, int duplex) argument 874 ARGEDEBUG(sc, ARGE_DBG_PLL, "set_pll(%04x, %s)\n", media, [all...] |
/freebsd-10-stable/sys/dev/ex/ |
H A D | if_ex.c | 999 int media; local 1001 media = ex_eeprom_read(sc, EE_W5); 1007 if ((current & TPE_bit) && (media & EE_W5_PORT_TPE)) 1009 if ((current & BNC_bit) && (media & EE_W5_PORT_BNC)) 1012 if (media & EE_W5_PORT_AUI)
|
/freebsd-10-stable/sys/dev/cxgb/ |
H A D | cxgb_main.c | 1059 /* Create a list of media supported by this port */ 1060 ifmedia_init(&p->media, IFM_IMASK, cxgb_media_change, 1259 if (mod != pi->media.ifm_cur->ifm_data) 2045 error = ifmedia_ioctl(ifp, ifr, &p->media, command); 2061 * Translates phy->modtype to the correct Ethernet media subtype. 2088 * Rebuilds the ifmedia list for this port, and sets the current media. 2094 struct ifmedia *media = &p->media; local 2100 ifmedia_removeall(media); 2105 ifmedia_add(media, [all...] |
/freebsd-10-stable/sys/dev/qlxge/ |
H A D | qls_os.c | 780 ifmedia_init(&ha->media, IFM_IMASK, qls_media_change, qls_media_status); 782 ifmedia_add(&ha->media, (IFM_ETHER | qls_get_optics(ha) | IFM_FDX), 0, 784 ifmedia_add(&ha->media, (IFM_ETHER | IFM_AUTO), 0, NULL); 786 ifmedia_set(&ha->media, (IFM_ETHER | IFM_AUTO)); 981 ret = ifmedia_ioctl(ifp, ifr, &ha->media, cmd); 1028 ifm = &ha->media;
|
/freebsd-10-stable/sys/boot/common/ |
H A D | help.common | 84 file sizes on some media may be very slow. 374 commands, so it is safe to source a file from removable media.
|
/freebsd-10-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-config.c | 342 if ((new_config->media < XGE_HAL_MIN_MEDIA) || 343 (new_config->media > XGE_HAL_MAX_MEDIA)) {
|
/freebsd-10-stable/sys/dev/ixl/ |
H A D | if_ixl.c | 1075 error = ifmedia_ioctl(ifp, ifr, &vsi->media, command); 1567 * media/mediopt option with ifconfig. 1574 struct ifmedia *ifm = &vsi->media; 2454 /* Display supported media types */ 2456 ifmedia_add(&vsi->media, IFM_ETHER | IFM_100_TX, 0, NULL); 2459 ifmedia_add(&vsi->media, IFM_ETHER | IFM_1000_T, 0, NULL); 2461 ifmedia_add(&vsi->media, IFM_ETHER | IFM_1000_SX, 0, NULL); 2463 ifmedia_add(&vsi->media, IFM_ETHER | IFM_1000_LX, 0, NULL); 2468 ifmedia_add(&vsi->media, IFM_ETHER | IFM_10G_TWINAX, 0, NULL); 2471 ifmedia_add(&vsi->media, IFM_ETHE [all...] |
/freebsd-10-stable/sys/dev/fatm/ |
H A D | if_fatmvar.h | 190 struct ifmedia media; /* media */ member in struct:fatm_softc
|
/freebsd-10-stable/sys/dev/ixgb/ |
H A D | if_ixgb.h | 284 struct ifmedia media; member in struct:adapter
|
/freebsd-10-stable/sys/dev/mxge/ |
H A D | if_mxge_var.h | 263 struct ifmedia media; member in struct:mxge_softc
|