Lines Matching refs:media_status
136 u16 media_status; member
420 lp->media_status = ((dev->if_port == 0) ? 0x8000 : 0x4000); in tc589_set_xcvr()
422 lp->media_status = ((dev->if_port == 0) ? 0x4010 : 0x8800); in tc589_set_xcvr()
727 if (errs || (lp->media_status & 0x0010)) in media_check()
731 if (media != lp->media_status) { in media_check()
732 if ((media & lp->media_status & 0x8000) && in media_check()
733 ((lp->media_status ^ media) & 0x0800)) in media_check()
735 (lp->media_status & 0x0800 ? "lost" : "found")); in media_check()
736 else if ((media & lp->media_status & 0x4000) && in media_check()
737 ((lp->media_status ^ media) & 0x0010)) in media_check()
739 (lp->media_status & 0x0010 ? "ok" : "problem")); in media_check()
753 lp->media_status = media; in media_check()