summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-09-24 06:15:48 +0000
committerShaun Ruffell <sruffell@digium.com>2008-09-24 06:15:48 +0000
commitd3bc5027158a77464b8050a831115e3de1afd948 (patch)
treee6fe34535ccf1dd3ba023556a54c886c37f10c66
parenta8b715a8adac4961e2670f0f209f6a570a1e8b1f (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
-rw-r--r--drivers/dahdi/wctc4xxp/base.c2
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");