summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 06:20:02 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 06:20:02 +0000
commitbac68d2af34466cbaf0473684c47bb25dd44fd9f (patch)
tree6ffb0294c1100d496eb70ebbb73274418965e820 /tor2.c
parent69a127fe2d00903fbaa32a37695b22e163c41153 (diff)
Fix for 2.6 module parm (bug #3321)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@546 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'tor2.c')
-rwxr-xr-xtor2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tor2.c b/tor2.c
index 446fac3..3a26647 100755
--- a/tor2.c
+++ b/tor2.c
@@ -1509,10 +1509,18 @@ MODULE_DESCRIPTION("Tormenta 2 PCI Quad T1 or E1 Zaptel Driver");
#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL");
#endif
+
+#ifdef LINUX26
+module_param(debug, int, 0600);
+module_param(loopback, int, 0600);
+module_param(timingcable, int, 0600);
+module_param(japan, int, 0600);
+#else
MODULE_PARM(debug, "i");
MODULE_PARM(loopback, "i");
MODULE_PARM(timingcable, "i");
MODULE_PARM(japan, "i");
+#endif
MODULE_DEVICE_TABLE(pci, tor2_pci_ids);