[PATCH] tlan: restore deleted module parameters.

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
===================================================================

authored by Stephen Hemminger and committed by Jeff Garzik 15efa9bb 88d7bd8c

+11
+11
drivers/net/tlan.c
··· 193 static int duplex[MAX_TLAN_BOARDS]; 194 static int speed[MAX_TLAN_BOARDS]; 195 static int boards_found; 196 197 MODULE_AUTHOR("Maintainer: Samuel Chessman <chessman@tux.org>"); 198 MODULE_DESCRIPTION("Driver for TI ThunderLAN based ethernet PCI adapters"); ··· 210 211 /* Turn on debugging. See Documentation/networking/tlan.txt for details */ 212 static int debug; 213 214 static int bbuf; 215 static u8 *TLanPadBuffer; 216 static dma_addr_t TLanPadBufferDMA; 217 static char TLanSignature[] = "TLAN";
··· 193 static int duplex[MAX_TLAN_BOARDS]; 194 static int speed[MAX_TLAN_BOARDS]; 195 static int boards_found; 196 + module_param_array(aui, int, NULL, 0); 197 + module_param_array(duplex, int, NULL, 0); 198 + module_param_array(speed, int, NULL, 0); 199 + MODULE_PARM_DESC(aui, "ThunderLAN use AUI port(s) (0-1)"); 200 + MODULE_PARM_DESC(duplex, "ThunderLAN duplex setting(s) (0-default, 1-half, 2-full)"); 201 + MODULE_PARM_DESC(speed, "ThunderLAN port speen setting(s) (0,10,100)"); 202 203 MODULE_AUTHOR("Maintainer: Samuel Chessman <chessman@tux.org>"); 204 MODULE_DESCRIPTION("Driver for TI ThunderLAN based ethernet PCI adapters"); ··· 204 205 /* Turn on debugging. See Documentation/networking/tlan.txt for details */ 206 static int debug; 207 + module_param(debug, int, 0); 208 + MODULE_PARM_DESC(debug, "ThunderLAN debug mask"); 209 210 static int bbuf; 211 + module_param(bbuf, int, 0); 212 + MODULE_PARM_DESC(bbuf, "ThunderLAN use big buffer (0-1)"); 213 + 214 static u8 *TLanPadBuffer; 215 static dma_addr_t TLanPadBufferDMA; 216 static char TLanSignature[] = "TLAN";