summaryrefslogtreecommitdiff
path: root/xpp/xpd.h
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-30 21:48:25 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-11-30 21:48:25 +0000
commitc14e5f99a3afde8693e192c3fb9edf6b8996be5a (patch)
tree48e841d1d5675005c5650d7945eb6825fa5b8bea /xpp/xpd.h
parentacfbf5805c4b38166e6559a13a8b332f0a92ae2d (diff)
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/branches/1.2@1668 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)
/*