diff options
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-x | wcfxo.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -36,6 +36,9 @@ #else #include <linux/zaptel.h> #endif +#ifdef LINUX26 +#include <linux/moduleparam.h> +#endif /* Uncomment to enable tasklet handling in the FXO driver. Not recommended in general, but may improve interactive performance */ @@ -1014,11 +1017,19 @@ static void __exit wcfxo_cleanup(void) pci_unregister_driver(&wcfxo_driver); } +#ifdef LINUX26 +module_param(debug, int, 0600); +module_param(quiet, int, 0600); +module_param(boost, int, 0600); +module_param(monitor, int, 0600); +module_param(opermode, int, 0600); +#else MODULE_PARM(debug, "i"); MODULE_PARM(quiet, "i"); MODULE_PARM(boost, "i"); MODULE_PARM(monitor, "i"); MODULE_PARM(opermode, "i"); +#endif MODULE_DESCRIPTION("Wildcard X100P Zaptel Driver"); MODULE_AUTHOR("Mark Spencer <markster@linux-support.net>"); #ifdef MODULE_LICENSE |