summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/wcte12xp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-06-22 17:59:37 +0000
committerShaun Ruffell <sruffell@digium.com>2012-06-22 17:59:37 +0000
commitd23d143463c86ba22b936f422c44eaf482801672 (patch)
tree0414922706c4790f727fb3714b8e8201bb98c450 /drivers/dahdi/wcte12xp/wcte12xp.h
parent94ef90ea980e6aec0d6f7843d7555ed5d9bf7c5e (diff)
wcte12xp: Allow default_linemode to be set to j1.
To enable J1 mode previously one would configure the card in T1 mode and then set the j1mode module parameter. Now "modprobe wcte12xp default_linemode=j1" will work like the other linemodes globally for all cards manged by this driver. J1 can also be set on a card-by-card basis in sysfs. Also move pr_fmt to top of file so pr_xxx macros print the module name as intended. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10696 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/wcte12xp.h')
-rw-r--r--drivers/dahdi/wcte12xp/wcte12xp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/wcte12xp/wcte12xp.h b/drivers/dahdi/wcte12xp/wcte12xp.h
index 8ef4753..838f0dd 100644
--- a/drivers/dahdi/wcte12xp/wcte12xp.h
+++ b/drivers/dahdi/wcte12xp/wcte12xp.h
@@ -77,6 +77,7 @@
enum linemode {
T1 = 1,
E1,
+ J1,
};
struct command {