Skip site navigation (1)Skip section navigation (2)
Date:      21 Jan 2002 22:08:46 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        "M. Warner Losh" <imp@village.org>, rwatson@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if.c if.h route.h rtsock.c src/share/man/man4 route.4 src/sbin/route route.c
Message-ID:  <xzpbsfns97l.fsf@flood.ping.uio.no>
In-Reply-To: <20020121183947.A83821@sunbay.com>
References:  <20020121103822.A16527@sunbay.com> <Pine.NEB.3.96L.1020121101217.69509A-100000@fledge.watson.org> <20020121173406.A77567@sunbay.com> <20020121.085527.98102760.imp@village.org> <20020121183947.A83821@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@FreeBSD.org> writes:
> I've looked at several device drivers, and some get asynchronous
> notifications about media status changes (like ti(4)), and some
> don't (like dc(4) using dcphy_status() through mii_pollstat()).
> This means that the only reliable way is to periodically query
> the driver about media status changes through the SIOCGIFMEDIA
> ioctl.

Could drivers that don't get asynchronous notification of media status
changes, poll the media status once a second?

-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpbsfns97l.fsf>