From owner-cvs-all Mon Jan 21 13: 9:10 2002 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id BF07C37B405; Mon, 21 Jan 2002 13:08:47 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 9C168532C; Mon, 21 Jan 2002 22:08:46 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Ruslan Ermilov Cc: "M. Warner Losh" , 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 References: <20020121103822.A16527@sunbay.com> <20020121173406.A77567@sunbay.com> <20020121.085527.98102760.imp@village.org> <20020121183947.A83821@sunbay.com> From: Dag-Erling Smorgrav Date: 21 Jan 2002 22:08:46 +0100 In-Reply-To: <20020121183947.A83821@sunbay.com> Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ruslan Ermilov 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