Lines Matching refs:media_status
111 u_short media_status; member
1629 smc->media_status = ((dev->if_port == 0) ? 0x0001 : 0x0002); in smc_set_xcvr()
1635 smc->media_status = ((dev->if_port == 0) ? 0x0012 : 0x4001); in smc_set_xcvr()
1800 if (smc->tx_err || (smc->media_status & EPH_16COL)) in media_check()
1805 if (media != smc->media_status) { in media_check()
1806 if ((media & smc->media_status & 1) && in media_check()
1807 ((smc->media_status ^ media) & EPH_LINK_OK)) in media_check()
1809 smc->media_status & EPH_LINK_OK ? "lost" : "found"); in media_check()
1810 else if ((media & smc->media_status & 2) && in media_check()
1811 ((smc->media_status ^ media) & EPH_16COL)) in media_check()
1827 smc->media_status = media; in media_check()