cvs commit: src/sys/dev/em if_em.c

Andre Oppermann andre at freebsd.org
Wed Nov 3 11:18:44 PST 2004


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 at 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


More information about the cvs-src mailing list