From 221e76d95b698c6d22a843c12604ca0c1f57a239 Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 17 Jan 2005 01:58:09 +0000 Subject: 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 --- wcfxs.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'wcfxs.c') diff --git a/wcfxs.c b/wcfxs.c index 46fd001..5169d41 100755 --- a/wcfxs.c +++ b/wcfxs.c @@ -31,7 +31,6 @@ #include #include #include - #include "proslic.h" #include "wcfxs.h" /* @@ -205,6 +204,10 @@ static struct fxo_mode { #include #endif +#ifdef LINUX26 +#include +#endif + #define NUM_FXO_REGS 60 #define WC_MAX_IFACES 128 @@ -2177,6 +2180,20 @@ static void __exit wcfxs_cleanup(void) pci_unregister_driver(&wcfxs_driver); } +#ifdef LINUX26 +module_param(debug, int, 0600); +module_param(loopcurrent, int, 0600); +module_param(robust, int, 0600); +module_param(_opermode, int, 0600); +module_param(opermode, charp, 0600); +module_param(timingonly, int, 0600); +module_param(lowpower, int, 0600); +module_param(boostringer, int, 0600); +module_param(fxshonormode, int, 0600); +module_param(battdebounce, int, 0600); +module_param(battthresh, int, 0600); +module_param(alawoverride, int, 0600); +#else MODULE_PARM(debug, "i"); MODULE_PARM(loopcurrent, "i"); MODULE_PARM(robust, "i"); @@ -2186,6 +2203,7 @@ MODULE_PARM(timingonly, "i"); MODULE_PARM(lowpower, "i"); MODULE_PARM(boostringer, "i"); MODULE_PARM(fxshonormode, "i"); +#endif MODULE_DESCRIPTION("Wildcard TDM400P Zaptel Driver"); MODULE_AUTHOR("Mark Spencer "); #ifdef MODULE_LICENSE -- cgit v1.2.3