Searched refs:media (Results 51 - 75 of 145) sorted by relevance

123456

/freebsd-10.0-release/sys/dev/mii/
H A Dmii.c252 * 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 De1000phy.c413 /* Update the media status. */
485 e1000phy_mii_phy_auto(struct mii_softc *sc, int media) argument
494 if ((media & IFM_FLOW) != 0 ||
H A Drgephy.c281 /* Update the media status. */
286 * the DSP on the RealTek PHYs if the media changes.
383 rgephy_mii_phy_auto(struct mii_softc *sc, int media) argument
391 if ((media & IFM_FLOW) != 0 || (sc->mii_flags & MIIF_FORCEPAUSE) != 0)
/freebsd-10.0-release/sys/dev/nve/
H A Dif_nvereg.h174 NV_UINT32 media; member in struct:nve_softc
/freebsd-10.0-release/sys/dev/nxge/include/
H A Dxgehal-mgmt.h51 * @media: Fiber, copper.
70 char media[16]; member in struct:xge_hal_mgmt_about_info_t
/freebsd-10.0-release/sys/dev/qlxgb/
H A Dqla_def.h149 struct ifmedia media; member in struct:qla_host
H A Dqla_os.c703 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.0-release/sys/dev/qlxgbe/
H A Dql_def.h166 struct ifmedia media; member in struct:qla_host
/freebsd-10.0-release/sys/dev/utopia/
H A Dutopia.h133 struct ifmedia *media; /* driver supplied */ member in struct:utopia
/freebsd-10.0-release/sys/dev/fe/
H A Dif_fe.c190 /* 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.0-release/sbin/devd/
H A Ddevd.cc297 media::media(config &, const char *var, const char *type) function in class:media
316 media::~media()
321 media::do_match(config &c)
336 devdlog(LOG_DEBUG, "Testing media type of %s against 0x%x\n",
348 devdlog(LOG_DEBUG, "%s has media type 0x%x\n",
352 devdlog(LOG_DEBUG, "%s has unknown media type\n",
1074 eps *e = new media(cfg, var, re);
/freebsd-10.0-release/sys/dev/patm/
H A Dif_patm_attach.c194 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.0-release/sys/dev/cxgbe/
H A Dt4_main.c149 /* ifnet + media interface */
992 ifmedia_init(&pi->media, IFM_IMASK, cxgbe_media_change,
1053 ifmedia_removeall(&pi->media);
1241 ifmedia_ioctl(ifp, ifr, &pi->media, cmd);
1354 struct ifmedia_entry *cur = pi->media.ifm_cur;
1360 cur = pi->media.ifm_cur;
1369 /* active and current will differ iff current media is autoselect. */
2580 struct ifmedia *media = &pi->media; local
2585 ifmedia_removeall(media);
[all...]
/freebsd-10.0-release/contrib/wpa/src/drivers/
H A Ddriver_bsd.c218 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.0-release/sys/mips/atheros/
H A Dif_arge.c452 * 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.0-release/sys/dev/cxgb/
H A Dcxgb_main.c1059 /* 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.0-release/sys/dev/ex/
H A Dif_ex.c999 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.0-release/sys/dev/qlxge/
H A Dqls_os.c780 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.0-release/sys/boot/common/
H A Dhelp.common84 file sizes on some media may be very slow.
374 commands, so it is safe to source a file from removable media.
/freebsd-10.0-release/sys/dev/nxge/xgehal/
H A Dxgehal-config.c342 if ((new_config->media < XGE_HAL_MIN_MEDIA) ||
343 (new_config->media > XGE_HAL_MAX_MEDIA)) {
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/
H A Den_netdev.c1067 ifm = &priv->media;
1085 printf("%s: Only auto media type\n", if_name(dev));
1151 error = ifmedia_ioctl(dev, ifr, &priv->media, command);
1646 ifmedia_init(&priv->media, IFM_IMASK | IFM_ETH_FMASK,
1648 ifmedia_add(&priv->media, IFM_ETHER | IFM_FDX | IFM_1000_T, 0, NULL);
1649 ifmedia_add(&priv->media, IFM_ETHER | IFM_FDX | IFM_10G_SR, 0, NULL);
1650 ifmedia_add(&priv->media, IFM_ETHER | IFM_FDX | IFM_10G_CX4, 0, NULL);
1651 ifmedia_add(&priv->media, IFM_ETHER | IFM_AUTO, 0, NULL);
1652 ifmedia_set(&priv->media, IFM_ETHER | IFM_AUTO);
/freebsd-10.0-release/sys/boot/pc98/libpc98/
H A Dbiosdisk.c193 /* boot media 1.2MB FD? */
232 int media = ((unsigned *)PTOV(0xA1460))[bd->bd_unit & 0x0F] & 0x1F; local
234 if (media == 7) { /* MO */
997 int media = ((unsigned *)PTOV(0xA1460))[unit & 0x0F] & 0x1F; local
999 if (media == 7 && hds++ == bunit) /* SCSI MO */
/freebsd-10.0-release/sys/dev/e1000/
H A Dif_em.h365 struct ifmedia media; member in struct:adapter
H A Dif_lem.h314 struct ifmedia media; member in struct:adapter
/freebsd-10.0-release/sys/dev/fatm/
H A Dif_fatmvar.h190 struct ifmedia media; /* media */ member in struct:fatm_softc

Completed in 202 milliseconds

123456