]> err.no Git - linux-2.6/commit
[PATCH] myri10ge: use netif_msg_link
authorBrice Goglin <brice@myri.com>
Mon, 21 Aug 2006 21:36:49 +0000 (17:36 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 24 Aug 2006 04:43:51 +0000 (00:43 -0400)
commitc58ac5caeb32ef17c2e4fc208f7dc93f6de32b7d
treeb31514090620ca564bfe75ba970b843800e51015
parent8d8b03297c96811501e3821edd4602b315458030
[PATCH] myri10ge: use netif_msg_link

Add msg_enable and use netif_msg_link to enable/disable reporting
of link status changes since some Ethernet switches seem to generate
a lot of status changes under some circumstances and some people
want to avoid useless flooding in the logs.

Also add a counter for link status changes to statistics.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c