diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-01-17 01:58:09 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2005-01-17 01:58:09 +0000 |
commit | 221e76d95b698c6d22a843c12604ca0c1f57a239 (patch) | |
tree | 44139fffea4e1208dffe89c2251077eb0664c391 /torisa.c | |
parent | 4ab4a9c64f02cf5e2915ba12833cba9cf76788c1 (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 'torisa.c')
-rwxr-xr-x | torisa.c | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -29,7 +29,6 @@ #include <linux/interrupt.h> #include <linux/ioport.h> #include <asm/io.h> - #ifdef STANDALONE_ZAPATA #include "zaptel.h" #include "torisa.h" @@ -37,6 +36,9 @@ #include <linux/zaptel.h> #include <linux/torisa.h> #endif +#ifdef LINUX26 +#include <linux/moduleparam.h> +#endif /* Board address offsets (specified in word (not byte) offsets) */ #define DDATA 0 /* Data I/O Register */ @@ -1158,11 +1160,20 @@ MODULE_DESCRIPTION("Tormenta ISA Zapata Telephony Driver"); #ifdef MODULE_LICENSE MODULE_LICENSE("GPL"); #endif + +#ifdef LINUX26 +module_param(prefmaster, int, 0600); +module_param(base, long, 0600); +module_param(irq, int, 0600); +module_param(syncsrc, int, 0600); +module_param(debug, int, 0600); +#else MODULE_PARM(prefmaster, "i"); MODULE_PARM(base, "i"); MODULE_PARM(irq, "i"); MODULE_PARM(syncsrc, "i"); MODULE_PARM(debug, "i"); +#endif module_init(tor_init); module_exit(tor_exit); |