summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/wcte12xp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2012-06-23 04:36:12 +0000
committerShaun Ruffell <sruffell@digium.com>2012-06-23 04:36:12 +0000
commitf2fae3be8a8458fd0b76e9806e479a0f54f7fb9d (patch)
tree41ca2223f13fde9647225ed89846f326cd55632d /drivers/dahdi/wcte12xp/wcte12xp.h
parent4263810c18f7652d2f18f56c97d81cc8c4e61731 (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> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10696 Conflicts: drivers/dahdi/wcte12xp/base.c git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.6@10698 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 {