netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [PATCH] e1000 module parameter incompatiablity
@ 2004-06-08 18:40 Venkatesan, Ganesh
  0 siblings, 0 replies; 6+ messages in thread
From: Venkatesan, Ganesh @ 2004-06-08 18:40 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: cramerj, Ronciak, John, Jeff Garzik, netdev

Applied to our development tree.

Thanks,
ganesh 
 
-------------------------------------------------
Ganesh Venkatesan
Network/Storage Division, Hillsboro, OR

-----Original Message-----
From: Stephen Hemminger [mailto:shemminger@osdl.org] 
Sent: Tuesday, June 08, 2004 11:04 AM
To: Venkatesan, Ganesh
Cc: cramerj; Ronciak, John; Jeff Garzik; netdev@oss.sgi.com
Subject: [PATCH] e1000 module parameter incompatiablity

E1000 driver is mixing new style 'module_param' with old style
'MODULE_PARM'
this generates the runtime warning
	e1000: Ignoring new-style parameters in presence of obsolete
ones
and prevents using module parameters to set ring size.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>


diff -Nru a/drivers/net/e1000/e1000_main.c
b/drivers/net/e1000/e1000_main.c
--- a/drivers/net/e1000/e1000_main.c	2004-06-08 11:01:58 -07:00
+++ b/drivers/net/e1000/e1000_main.c	2004-06-08 11:01:58 -07:00
@@ -202,8 +202,8 @@
 MODULE_DESCRIPTION("Intel(R) PRO/1000 Network Driver");
 MODULE_LICENSE("GPL");
 
-static int debug = 3;
-module_param(debug, int, 0);
+static int debug = NETIF_MSG_DRV | NETIF_MSG_PROBE;
+MODULE_PARM(debug, "i");
 MODULE_PARM_DESC(debug, "Debug level (0=none,...,16=all)");
 
 /**

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-16 22:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <468F3FDA28AA87429AD807992E22D07E0158A1CD@orsmsx408>
2004-06-08 18:04 ` [PATCH] e1000 module parameter incompatiablity Stephen Hemminger
2004-06-08 18:39   ` Jeff Garzik
2004-06-08 19:39     ` Stephen Hemminger
2004-06-09 20:32     ` [PATCH] e1000 module parameters use new format Stephen Hemminger
2004-06-16 22:21 ` [PATCH 2.6.7] e1000 sparse cleanup Stephen Hemminger
2004-06-08 18:40 [PATCH] e1000 module parameter incompatiablity Venkatesan, Ganesh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).