summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
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 0311f55..8b6583b 100755
--- a/tor2.c
+++ b/tor2.c
@@ -1482,10 +1482,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);