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

Luigi Rizzo rizzo at icir.org
Wed Nov 3 08:28:07 PST 2004


On Wed, Nov 03, 2004 at 09:23:01AM -0700, Scott Long wrote:
...
> I think that in general we can start eyeing a lot of similar verbosity
> in all of our drivers, both at boot and at runtime.  For example most
> nic drivers print out their MAC and all of their possible negotiation
> rates on attach.  This same info can be obtained from ifconfig.  Why
> clutter the boot with it?

because sometimes you might need to enable some MAC-based filter
before you have a chance to access the box. e.g. to set dhcp/bootp
anbd the like.

A bit of verbosity is useful, you can always switch to splash screens
if you don't like them.

I think the link-up/link-down thing is different because it
happens not just at boot but also whenever the link status
changes (e.g. when a spanning tree on a switch detects a
reconfiguration), and this is annoying on the console.

cheers
luigi



More information about the cvs-all mailing list