diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/tlan.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/tlan.c b/drivers/net/tlan.c index a7ffa64502dd..f0851c424097 100644 --- a/drivers/net/tlan.c +++ b/drivers/net/tlan.c | |||
@@ -193,6 +193,12 @@ static int aui[MAX_TLAN_BOARDS]; | |||
193 | static int duplex[MAX_TLAN_BOARDS]; | 193 | static int duplex[MAX_TLAN_BOARDS]; |
194 | static int speed[MAX_TLAN_BOARDS]; | 194 | static int speed[MAX_TLAN_BOARDS]; |
195 | static int boards_found; | 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)"); | ||
196 | 202 | ||
197 | MODULE_AUTHOR("Maintainer: Samuel Chessman <chessman@tux.org>"); | 203 | MODULE_AUTHOR("Maintainer: Samuel Chessman <chessman@tux.org>"); |
198 | MODULE_DESCRIPTION("Driver for TI ThunderLAN based ethernet PCI adapters"); | 204 | MODULE_DESCRIPTION("Driver for TI ThunderLAN based ethernet PCI adapters"); |
@@ -204,8 +210,13 @@ MODULE_LICENSE("GPL"); | |||
204 | 210 | ||
205 | /* Turn on debugging. See Documentation/networking/tlan.txt for details */ | 211 | /* Turn on debugging. See Documentation/networking/tlan.txt for details */ |
206 | static int debug; | 212 | static int debug; |
213 | module_param(debug, int, 0); | ||
214 | MODULE_PARM_DESC(debug, "ThunderLAN debug mask"); | ||
207 | 215 | ||
208 | static int bbuf; | 216 | static int bbuf; |
217 | module_param(bbuf, int, 0); | ||
218 | MODULE_PARM_DESC(bbuf, "ThunderLAN use big buffer (0-1)"); | ||
219 | |||
209 | static u8 *TLanPadBuffer; | 220 | static u8 *TLanPadBuffer; |
210 | static dma_addr_t TLanPadBufferDMA; | 221 | static dma_addr_t TLanPadBufferDMA; |
211 | static char TLanSignature[] = "TLAN"; | 222 | static char TLanSignature[] = "TLAN"; |