Lines Matching refs:media_status
133 u16 media_status; member
407 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000); in tc589_set_xcvr()
409 lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800); in tc589_set_xcvr()
711 if (errs || (lp->media_status & 0x0010)) media |= 0x0010; in media_check()
714 if (media != lp->media_status) { in media_check()
715 if ((media & lp->media_status & 0x8000) && in media_check()
716 ((lp->media_status ^ media) & 0x0800)) in media_check()
718 (lp->media_status & 0x0800 ? "lost" : "found")); in media_check()
719 else if ((media & lp->media_status & 0x4000) && in media_check()
720 ((lp->media_status ^ media) & 0x0010)) in media_check()
722 (lp->media_status & 0x0010 ? "ok" : "problem")); in media_check()
736 lp->media_status = media; in media_check()