Hi,

I found a minor bug in e1000 debug initialization.

The previous initaliazation resulted in log of level NETIF_MSG_DRV, NETIF_MSG_PROBE and NETIF_MSG_LINK ('debug' is used as shift factor) while it obviously was intended that only NETIF_MSG_DRV and NETIF_MSG_PROBE should be logged.

The applied patch corrects this.

/holger


--
Holger Eitzenberger <[EMAIL PROTECTED]> | Kernel Developer
Astaro AG | www.astaro.com | Phone +49-721-25516-246 | Fax -200

Documentation: http://docs.astaro.org
User Bulletin Board: http://www.astaro.org

- Certified by ICSA labs - June 2004
- Computer Reseller News: "CRN Certified Program" - June 2004
- Linux Pro Italy: Best Rating 10 out of 10 points - May 2004
- Linux Enterprise Readers' Choice Award: Best Firewall -- October 2003
Minor update on initialization of debug flag.

diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -200,7 +200,7 @@ MODULE_DESCRIPTION("Intel(R) PRO/1000 Ne
 MODULE_LICENSE("GPL");
 MODULE_VERSION(DRV_VERSION);
 
-static int debug = NETIF_MSG_DRV | NETIF_MSG_PROBE;
+static int debug = NETIF_MSG_PROBE;		/* NETIF_MSG_DRV, NETIF_MSG_PROBE */
 module_param(debug, int, 0);
 MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
 

Reply via email to