From 9a8681b0b3b90df6d13add3e3669649a4e8e3842 Mon Sep 17 00:00:00 2001 From: sruffell Date: Wed, 24 Sep 2008 06:15:28 +0000 Subject: Adding back in the mode module parameter for the wctc4xxp driver. This is primarily used to increase the number of channels available when only transcoding to/from g729 by setting it to 'g729'. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4540 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- kernel/wctc4xxp/base.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/wctc4xxp') diff --git a/kernel/wctc4xxp/base.c b/kernel/wctc4xxp/base.c index 5019adb..5bb0da3 100644 --- a/kernel/wctc4xxp/base.c +++ b/kernel/wctc4xxp/base.c @@ -3269,6 +3269,8 @@ void __exit wctc4xxp_cleanup(void) } module_param(debug, int, S_IRUGO | S_IWUSR); +module_param(mode, charp, S_IRUGO | S_IWUSR); +MODULE_PARM_DESC(mode, "'g729', 'g723.1', or 'any'. Default 'any'."); MODULE_DESCRIPTION("Wildcard TC400P+TC400M Driver"); MODULE_AUTHOR("Digium Incorporated "); #ifdef MODULE_LICENSE -- cgit v1.2.3