diff options
author | sruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-09-24 06:15:28 +0000 |
---|---|---|
committer | sruffell <sruffell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-09-24 06:15:28 +0000 |
commit | 9a8681b0b3b90df6d13add3e3669649a4e8e3842 (patch) | |
tree | 2615a9c745852f4a34a7506501ed105464e95478 /kernel/wctc4xxp/base.c | |
parent | 764fda4d28d6a964b85384551ae8f89edac8ad4e (diff) |
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
Diffstat (limited to 'kernel/wctc4xxp/base.c')
-rw-r--r-- | kernel/wctc4xxp/base.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <support@digium.com>"); #ifdef MODULE_LICENSE |