Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2004 20:18:47 +0100
From:      Andre Oppermann <andre@freebsd.org>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        cvs-src@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/em if_em.c
Message-ID:  <41892F17.79C393F4@freebsd.org>
References:  <23791.1099507264@critter.freebsd.dk> <Pine.BSF.4.53.0411031845440.1747@e0-0.zab2.int.zabbadoz.net> <20041103191529.GT22681@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Pine.BSF.4.53.0411031818150.1747@e0-0.zab2.int.zabbadoz.net>, "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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41892F17.79C393F4>