From bac68d2af34466cbaf0473684c47bb25dd44fd9f Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 13 Jan 2005 06:20:02 +0000 Subject: Fix for 2.6 module parm (bug #3321) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@546 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcfxo.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wcfxo.c') diff --git a/wcfxo.c b/wcfxo.c index 0a7d212..6bc56d5 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 "); #ifdef MODULE_LICENSE -- cgit v1.2.3