From owner-cvs-all@FreeBSD.ORG Wed Nov 3 19:18:44 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FC2316A4CE for ; Wed, 3 Nov 2004 19:18:44 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE81D43D49 for ; Wed, 3 Nov 2004 19:18:43 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 89957 invoked from network); 3 Nov 2004 19:14:58 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 3 Nov 2004 19:14:58 -0000 Message-ID: <41892F17.79C393F4@freebsd.org> Date: Wed, 03 Nov 2004 20:18:47 +0100 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: John-Mark Gurney References: <23791.1099507264@critter.freebsd.dk> <20041103191529.GT22681@funkthat.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: "Bjoern A. Zeeb" cc: Poul-Henning Kamp cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/em if_em.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2004 19:18:44 -0000 John-Mark Gurney wrote: > > Bjoern A. Zeeb wrote this message on Wed, Nov 03, 2004 at 18:57 +0000: > > On Wed, 3 Nov 2004, Poul-Henning Kamp wrote: > > > > > In message , "Bjoern A. Zeeb" writes: > > > > > > >I think it's overkill to enable all verbose msgs just to see link state > > > >messages in my logs again when someone fiddles at the cabling in the > > > >colo hotel where he shouldn't - or did I mis-read the commit message ? > > > > > > Link states are visible with ifconfig(8). > > > > of course they are but who will notify me or write them to my logs so > > I have timestamps ? Do I need to write a small daemon to regularly > > and fast enough poll for link state changes now ? > > Sounds like we need to expand devd for this.. We already have miibus > hooked up for kevent notification... And it shoudln't be hard to make > the kevent notification happen for non-miibus drivers... The network drivers poll their PHY via MII every second for connection status. You don't have to worry about milliseconds or so. -- Andre