summaryrefslogtreecommitdiff
path: root/xpp/xpd.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 05:31:16 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-12-01 05:31:16 +0000
commita2e05541b879e26431191518851392c2b4e016d3 (patch)
tree14091b2533a370c2b07ebc3917602695ebdfacea /xpp/xpd.h
parentb557eec0f88781388d4fc45ad0774224ddc45427 (diff)
r1676@boole: tzafrir | 2006-12-01 02:09:53 +0200
r1668@boole: tzafrir | 2006-11-30 23:48:25 +0200 r2832@boole: tzafrir | 2006-11-29 11:06:06 +0200 Add parameter xpp_ec to the module xpp (xpp_zap.c). Defaults to 1. If 0, module will use Zaptel echo canceller even with XPP_EC_CHUNK. Parameter is read-only for now: cannot be set through /sys/modules. (Merge of changeset:2830) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1682 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xpd.h')
-rw-r--r--xpp/xpd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xpp/xpd.h b/xpp/xpd.h
index 74b759d..4f19679 100644
--- a/xpp/xpd.h
+++ b/xpp/xpd.h
@@ -44,6 +44,10 @@ typedef unsigned gfp_t; /* Added in 2.6.14 */
type name = init; \
module_param(name, type, 0600); \
MODULE_PARM_DESC(name, desc)
+#define DEF_PARM_RO(type,name,init,desc) \
+ type name = init; \
+ module_param(name, type, 0400); \
+ MODULE_PARM_DESC(name, desc)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
/*