Date: Tue, 22 Jan 2002 11:00:33 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Dag-Erling Smorgrav <des@ofug.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: <20020122110033.D78733@sunbay.com> In-Reply-To: <xzpbsfns97l.fsf@flood.ping.uio.no> 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> <xzpbsfns97l.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 21, 2002 at 10:08:46PM +0100, Dag-Erling Smorgrav wrote: > 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? > How this is better than polling media status of a single interested device from userland once a second? Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age 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?20020122110033.D78733>