Lines Matching refs:media
810 int media; /* Media (eg TP), mode (eg 100B)*/ member
2368 lp->media = INIT; in autoconf_media()
2373 return lp->media; in autoconf_media()
2396 switch (lp->media) { in dc21040_autoconf()
2403 lp->media = TP; in dc21040_autoconf()
2405 lp->media = BNC_AUI; in dc21040_autoconf()
2407 lp->media = EXT_SIA; in dc21040_autoconf()
2409 lp->media = NC; in dc21040_autoconf()
2447 if (lp->media != lp->c_media) { in dc21040_autoconf()
2449 lp->c_media = lp->media; in dc21040_autoconf()
2451 lp->media = INIT; in dc21040_autoconf()
2483 lp->media = next_state; in dc21040_state()
2489 lp->media = suspect_state; in dc21040_state()
2510 lp->media = prev_state; in de4x5_suspect_state()
2523 lp->media = prev_state; in de4x5_suspect_state()
2525 lp->media = INIT; in de4x5_suspect_state()
2550 switch (lp->media) { in dc21041_autoconf()
2557 lp->media = TP; /* On chip auto negotiation is broken */ in dc21041_autoconf()
2559 lp->media = TP; in dc21041_autoconf()
2561 lp->media = BNC; in dc21041_autoconf()
2563 lp->media = AUI; in dc21041_autoconf()
2565 lp->media = NC; in dc21041_autoconf()
2583 lp->media = ANS; in dc21041_autoconf()
2585 lp->media = AUI; in dc21041_autoconf()
2600 lp->media = TP; in dc21041_autoconf()
2608 lp->media = ANS_SUSPECT; in dc21041_autoconf()
2631 lp->media = AUI; /* Non selected port activity */ in dc21041_autoconf()
2633 lp->media = BNC; in dc21041_autoconf()
2642 lp->media = TP_SUSPECT; in dc21041_autoconf()
2664 lp->media = BNC; in dc21041_autoconf()
2672 lp->media = AUI_SUSPECT; in dc21041_autoconf()
2706 lp->media = NC; in dc21041_autoconf()
2712 lp->media = BNC_SUSPECT; in dc21041_autoconf()
2727 if (lp->media != lp->c_media) { in dc21041_autoconf()
2729 lp->c_media = lp->media; in dc21041_autoconf()
2731 lp->media = INIT; in dc21041_autoconf()
2752 switch(lp->media) { in dc21140m_autoconf()
2777 lp->media = _100Mb; in dc21140m_autoconf()
2779 lp->media = _10Mb; in dc21140m_autoconf()
2785 lp->media = ANS; in dc21140m_autoconf()
2787 lp->media = SPD_DET; in dc21140m_autoconf()
2789 lp->media = _100Mb; in dc21140m_autoconf()
2791 lp->media = NC; in dc21140m_autoconf()
2811 lp->media = SPD_DET; in dc21140m_autoconf()
2823 lp->media = SPD_DET; in dc21140m_autoconf()
2833 lp->media = _100Mb; in dc21140m_autoconf()
2837 lp->media = _10Mb; in dc21140m_autoconf()
2857 lp->media = _100Mb; in dc21140m_autoconf()
2859 lp->media = _10Mb; in dc21140m_autoconf()
2861 lp->media = NC; in dc21140m_autoconf()
2875 lp->media = INIT; in dc21140m_autoconf()
2893 lp->media = INIT; in dc21140m_autoconf()
2902 if (lp->media != lp->c_media) { in dc21140m_autoconf()
2904 lp->c_media = lp->media; in dc21140m_autoconf()
2906 lp->media = INIT; in dc21140m_autoconf()
2936 switch (lp->media) { in dc2114x_autoconf()
2946 if (lp->media != lp->params.autosense) { in dc2114x_autoconf()
2948 lp->media = INIT; in dc2114x_autoconf()
2951 lp->media = INIT; in dc2114x_autoconf()
2958 lp->media = _100Mb; in dc2114x_autoconf()
2960 lp->media = _10Mb; in dc2114x_autoconf()
2962 lp->media = TP; in dc2114x_autoconf()
2964 lp->media = BNC; in dc2114x_autoconf()
2966 lp->media = AUI; in dc2114x_autoconf()
2968 lp->media = SPD_DET; in dc2114x_autoconf()
2974 lp->media = ANS; in dc2114x_autoconf()
2994 lp->media = SPD_DET; in dc2114x_autoconf()
3007 lp->media = SPD_DET; in dc2114x_autoconf()
3017 lp->media = _100Mb; in dc2114x_autoconf()
3020 lp->media = _10Mb; in dc2114x_autoconf()
3043 lp->media = BNC; in dc2114x_autoconf()
3051 lp->media = AUI_SUSPECT; in dc2114x_autoconf()
3086 lp->media = INIT; in dc2114x_autoconf()
3092 lp->media = BNC_SUSPECT; in dc2114x_autoconf()
3106 lp->media = INIT; in dc2114x_autoconf()
3109 if (lp->media == _100Mb) { in dc2114x_autoconf()
3111 lp->media = SPD_DET; in dc2114x_autoconf()
3116 lp->media = SPD_DET; in dc2114x_autoconf()
3120 if (lp->media == ANS) { /* Do MII parallel detection */ in dc2114x_autoconf()
3122 lp->media = _100Mb; in dc2114x_autoconf()
3124 lp->media = _10Mb; in dc2114x_autoconf()
3127 } else if (((lp->media == _100Mb) && is_100_up(dev)) || in dc2114x_autoconf()
3128 (((lp->media == _10Mb) || (lp->media == TP) || in dc2114x_autoconf()
3129 (lp->media == BNC) || (lp->media == AUI)) && in dc2114x_autoconf()
3134 lp->media = INIT; in dc2114x_autoconf()
3146 lp->media = INIT; in dc2114x_autoconf()
3162 lp->media = INIT; in dc2114x_autoconf()
3172 printk("Huh?: media:%02x\n", lp->media); in dc2114x_autoconf()
3173 lp->media = INIT; in dc2114x_autoconf()
3199 if (lp->infoblock_media == lp->media) in srom_map_media()
3211 lp->media = _10Mb; in srom_map_media()
3213 lp->media = TP; in srom_map_media()
3218 lp->media = BNC; in srom_map_media()
3222 lp->media = AUI; in srom_map_media()
3232 lp->media = _100Mb; in srom_map_media()
3236 lp->media = _100Mb; in srom_map_media()
3246 lp->media = _100Mb; in srom_map_media()
3250 lp->media = ANS; in srom_map_media()
3270 if (lp->media != lp->c_media) { in de4x5_init_connection()
3272 lp->c_media = lp->media; /* Stop scrolling media messages */ in de4x5_init_connection()
4443 lp->media = NC; in dc21140_infoleaf()
4444 if (lp->media != lp->c_media) { in dc21140_infoleaf()
4446 lp->c_media = lp->media; in dc21140_infoleaf()
4448 lp->media = INIT; in dc21140_infoleaf()
4478 lp->media = NC; in dc21142_infoleaf()
4479 if (lp->media != lp->c_media) { in dc21142_infoleaf()
4481 lp->c_media = lp->media; in dc21142_infoleaf()
4483 lp->media = INIT; in dc21142_infoleaf()
4512 lp->media = NC; in dc21143_infoleaf()
4513 if (lp->media != lp->c_media) { in dc21143_infoleaf()
4515 lp->c_media = lp->media; in dc21143_infoleaf()
4517 lp->media = INIT; in dc21143_infoleaf()
4544 if ((lp->media == INIT) && (lp->timeout < 0)) { in compact_infoblock()
4584 if ((lp->media == INIT) && (lp->timeout < 0)) { in type0_infoblock()
4635 } else if ((lp->media == INIT) && (lp->timeout < 0)) { in type1_infoblock()
4663 if ((lp->media == INIT) && (lp->timeout < 0)) { in type2_infoblock()
4721 } else if ((lp->media == INIT) && (lp->timeout < 0)) { in type3_infoblock()
4750 if ((lp->media == INIT) && (lp->timeout < 0)) { in type4_infoblock()
4796 if ((lp->state == INITIALISED) || (lp->media == INIT)) { in type5_infoblock()
5302 if (lp->media != lp->c_media) { in de4x5_dbg_media()
5305 (lp->media == NC ? "unconnected, link down or incompatible connection" : in de4x5_dbg_media()
5306 (lp->media == TP ? "TP" : in de4x5_dbg_media()
5307 (lp->media == ANS ? "TP/Nway" : in de4x5_dbg_media()
5308 (lp->media == BNC ? "BNC" : in de4x5_dbg_media()
5309 (lp->media == AUI ? "AUI" : in de4x5_dbg_media()
5310 (lp->media == BNC_AUI ? "BNC/AUI" : in de4x5_dbg_media()
5311 (lp->media == EXT_SIA ? "EXT SIA" : in de4x5_dbg_media()
5312 (lp->media == _100Mb ? "100Mb/s" : in de4x5_dbg_media()
5313 (lp->media == _10Mb ? "10Mb/s" : in de4x5_dbg_media()
5317 lp->c_media = lp->media; in de4x5_dbg_media()