summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-02-26 16:40:42 +0000
committerShaun Ruffell <sruffell@digium.com>2010-02-26 16:40:42 +0000
commit64843c13afe7a35cb14d643ae3d0a4ddc3e274fb (patch)
tree8c8a50fd926b9cced14257c0b1e936a9cb9f33a8 /include
parent3800cebcbdb79ffd0e5f08c0e8662892e9701508 (diff)
dahdi: Add line options for BRI NT/TE mode and termination resistance.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8120 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/user.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dahdi/user.h b/include/dahdi/user.h
index a5d6ed2..5bd03d7 100644
--- a/include/dahdi/user.h
+++ b/include/dahdi/user.h
@@ -56,6 +56,9 @@
#define DAHDI_CONFIG_HDB3 (1 << 9) /* HDB3 instead of AMI (line coding) */
#define DAHDI_CONFIG_CRC4 (1 << 10) /* CRC4 framing */
#define DAHDI_CONFIG_NOTOPEN (1 << 16)
+/* These apply to BRI */
+#define DAHDI_CONFIG_NTTE (1 << 11) /* To enable NT mode, set this bit to 1, for TE this should be 0 */
+#define DAHDI_CONFIG_TERM (1 << 12) /* To enable Termination resistance set this bit to 1 */
/* Signalling types */
#define DAHDI_SIG_BROKEN (1 << 31) /* The port is broken and/or failed initialization */