diff options
author | Shaun Ruffell <sruffell@digium.com> | 2008-09-24 06:15:48 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2008-09-24 06:15:48 +0000 |
commit | 98d182489ba43a179120f2e49d59640cec88d977 (patch) | |
tree | e6fe34535ccf1dd3ba023556a54c886c37f10c66 /drivers/dahdi/wctc4xxp | |
parent | aff1f27ab457eae0b23a92fdfc25c23257bd0973 (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.asterisk.org/svn/dahdi/linux/trunk@4971 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctc4xxp')
-rw-r--r-- | drivers/dahdi/wctc4xxp/base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/wctc4xxp/base.c b/drivers/dahdi/wctc4xxp/base.c index 850b432..1fb3bbb 100644 --- a/drivers/dahdi/wctc4xxp/base.c +++ b/drivers/dahdi/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>"); MODULE_LICENSE("GPL"); |