summaryrefslogtreecommitdiff
path: root/wcfxo.c
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 18:42:35 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 18:42:35 +0000
commit9dc5820bfd7c60ad191869bfedd49757141a9fcf (patch)
tree716a72e97d65c00013d7bf3fc8716d78f2aeec66 /wcfxo.c
parent165be1ce385571158a7541671f3bf8b26146d8eb (diff)
use module_parm for 2.6 (bug #3321)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@547 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-xwcfxo.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wcfxo.c b/wcfxo.c
index 924a19d..be7952f 100755
--- a/wcfxo.c
+++ b/wcfxo.c
@@ -1014,11 +1014,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