netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tlan: restore deleted module parameters.
       [not found] <Pine.LNX.4.58.0504241751090.13938@lea.ulyssis.org>
@ 2005-05-04 22:33 ` Stephen Hemminger
  2005-05-15 22:25   ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2005-05-04 22:33 UTC (permalink / raw)
  To: Stefaan De Roeck, Jeff Garzik; +Cc: netdev

The module parameter values got lost in the conversion to the new module_param
interface. This should fix it.

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

Index: tlan/drivers/net/tlan.c
===================================================================
--- tlan.orig/drivers/net/tlan.c
+++ tlan/drivers/net/tlan.c
@@ -193,6 +193,12 @@ static  int aui[MAX_TLAN_BOARDS];
 static  int duplex[MAX_TLAN_BOARDS];
 static  int speed[MAX_TLAN_BOARDS];
 static  int boards_found;
+module_param_array(aui, int, NULL, 0);
+module_param_array(duplex, int, NULL, 0);
+module_param_array(speed, int, NULL, 0);
+MODULE_PARM_DESC(aui, "ThunderLAN use AUI port(s) (0-1)");
+MODULE_PARM_DESC(duplex, "ThunderLAN duplex setting(s) (0-default, 1-half, 2-full)");
+MODULE_PARM_DESC(speed, "ThunderLAN port speen setting(s) (0,10,100)");
 
 MODULE_AUTHOR("Maintainer: Samuel Chessman <chessman@tux.org>");
 MODULE_DESCRIPTION("Driver for TI ThunderLAN based ethernet PCI adapters");
@@ -204,8 +210,13 @@ MODULE_LICENSE("GPL");
 
 /* Turn on debugging. See Documentation/networking/tlan.txt for details */
 static  int		debug;
+module_param(debug, int, 0);
+MODULE_PARM_DESC(debug, "ThunderLAN debug mask");
 
 static	int		bbuf;
+module_param(bbuf, int, 0);
+MODULE_PARM_DESC(bbuf, "ThunderLAN use big buffer (0-1)");
+
 static	u8		*TLanPadBuffer;
 static  dma_addr_t	TLanPadBufferDMA;
 static	char		TLanSignature[] = "TLAN";

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

* Re: [PATCH] tlan: restore deleted module parameters.
  2005-05-04 22:33 ` [PATCH] tlan: restore deleted module parameters Stephen Hemminger
@ 2005-05-15 22:25   ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-05-15 22:25 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: Stefaan De Roeck, netdev

applied

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

end of thread, other threads:[~2005-05-15 22:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.LNX.4.58.0504241751090.13938@lea.ulyssis.org>
2005-05-04 22:33 ` [PATCH] tlan: restore deleted module parameters Stephen Hemminger
2005-05-15 22:25   ` Jeff Garzik

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).