summaryrefslogtreecommitdiff
path: root/wct4xxp.c
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-17 01:58:09 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-17 01:58:09 +0000
commit221e76d95b698c6d22a843c12604ca0c1f57a239 (patch)
tree44139fffea4e1208dffe89c2251077eb0664c391 /wct4xxp.c
parent4ab4a9c64f02cf5e2915ba12833cba9cf76788c1 (diff)
all of the fixes for 2.6 from HEAD ... I think things are calm now
git-svn-id: http://svn.digium.com/svn/zaptel/branches/v1-0@562 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wct4xxp.c')
-rwxr-xr-xwct4xxp.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 66a4989..104ed2e 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -38,6 +38,9 @@
#else
#include <linux/zaptel.h>
#endif
+#ifdef LINUX26
+#include <linux/moduleparam.h>
+#endif
#include "wct4xxp.h"
/*
@@ -1735,12 +1738,21 @@ MODULE_DESCRIPTION("TE410P PCI Driver");
#ifdef MODULE_LICENSE
MODULE_LICENSE("GPL");
#endif
+#ifdef LINUX26
+module_param(debug, int, 0600);
+module_param(loopback, int, 0600);
+module_param(noburst, int, 0600);
+module_param(timingcable, int, 0600);
+module_param(t1e1override, int, 0600);
+module_param(alarmdebounce, int, 0600);
+#else
MODULE_PARM(debug, "i");
MODULE_PARM(loopback, "i");
MODULE_PARM(noburst, "i");
MODULE_PARM(timingcable, "i");
MODULE_PARM(t1e1override, "i");
MODULE_PARM(alarmdebounce, "i");
+#endif
MODULE_DEVICE_TABLE(pci, t4_pci_tbl);