2
* DAHDI configuration options
7
* See http://www.asterisk.org for more information about
8
* the Asterisk project. Please do not directly contact
9
* any of the maintainers of this project for assistance;
10
* the project provides a web site, mailing lists and IRC
11
* channels for your use.
13
* This program is free software, distributed under the terms of
14
* the GNU General Public License Version 2 as published by the
15
* Free Software Foundation. See the LICENSE file included with
16
* this program for more details.
19
#ifndef _DAHDI_CONFIG_H
20
#define _DAHDI_CONFIG_H
23
#include <linux/version.h>
24
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
25
#include <linux/config.h>
27
#include <linux/autoconf.h>
31
/* DAHDI compile time options */
34
* Uncomment if you have a European phone, or any other phone with a
36
* This will stop the flash being mis-detected as a pulse dial "1" on
37
* phones with short flashes
39
/* #define SHORT_FLASH_TIME */
42
* Uncomment to disable calibration and/or DC/DC converter tests
43
* (not generally recommended)
45
/* #define NO_CALIBRATION */
49
* Boost ring voltage (Higher ring voltage, takes more power)
50
* Note: this only affects the wcfxsusb and wcusb drivers; all other
51
* drivers have a 'boostringer' module parameter.
53
/* #define BOOST_RINGER */
56
* Define CONFIG_CALC_XLAW if you have a small number of channels and/or
57
* a small level 2 cache, to optimize for few channels
60
/* #define CONFIG_CALC_XLAW */
63
* Define if you want MMX optimizations in DAHDI
65
* Note: CONFIG_DAHDI_MMX is generally incompatible with AMD
66
* processors and can cause system instability!
69
/* #define CONFIG_DAHDI_MMX */
71
/* We now use the linux kernel config to detect which options to use */
72
/* You can still override them below */
73
#if defined(CONFIG_HDLC) || defined(CONFIG_HDLC_MODULE)
74
#define DAHDI_HDLC_TYPE_TRANS
75
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,3)
76
#define HDLC_MAINTAINERS_ARE_MORE_STUPID_THAN_I_THOUGHT
81
#define CONFIG_DAHDI_PPP
85
* Uncomment CONFIG_DAHDI_NET to enable SyncPPP, CiscoHDLC, and Frame Relay
88
/* #define CONFIG_DAHDI_NET */
91
* Uncomment CONFIG_OLD_HDLC_API if your are compiling with CONFIG_DAHDI_NET
92
* defined and you are using the old kernel HDLC interface (or if you get
93
* an error about ETH_P_HDLC while compiling).
95
/* #define CONFIG_OLD_HDLC_API */
98
* Uncomment for Generic PPP support (i.e. ZapRAS)
100
/* #define CONFIG_DAHDI_PPP */
102
* Uncomment to enable "watchdog" to monitor if interfaces
103
* stop taking interrupts or otherwise misbehave
105
/* #define CONFIG_DAHDI_WATCHDOG */
108
* Uncomment the following to include extra debugging output.
110
/* #define CONFIG_DAHDI_DEBUG */
113
* Uncomment for Non-standard FXS groundstart start state (A=Low, B=Low)
114
* particularly for CAC channel bank groundstart FXO ports.
116
/* #define CONFIG_CAC_GROUNDSTART */
119
* Uncomment if you happen have an early TDM400P Rev H which
120
* sometimes forgets its PCI ID to have wcfxs match essentially all
123
/* #define TDM_REVH_MATCHALL */
126
* Uncomment the following if you want to support E&M trunks being
127
* able to "flash" after going off-hook (dont ask why, just nod :-) ).
129
* NOTE: *DO NOT* Enable "EMFLASH" and "EMPULSE" at the same time!!
132
/* #define EMFLASH */
135
* Uncomment the following if you want to support E&M trunks being
136
* able to recognize Dial Pulse digits. This can validly be enabled
137
* so that either Dial Pulse or DTMF/MF tones will be recognized, but
138
* the drawback is that the ONHOOK will take an extra {rxwinktime}
141
* NOTE: *DO NOT* Enable "EMFLASH" and "EMPULSE" at the same time!!
144
/* #define EMPULSE */
147
* Comment out the following if you dont want events to indicate the
148
* beginning of an incoming ring. Most non-Asterisk applications will
149
* want this commented out.
154
* Uncomment the following if you need to support FXS Flash events.
155
* Most applications will want this commented out.
157
/* #define FXSFLASH */
160
* Enable sync_tick() calls. Allows low-level drivers to synchronize
161
* their internal clocks to the DAHDI master clock.
163
#define DAHDI_SYNC_TICK
166
* Skip processing PCM if low-level driver won't use it anyway
168
/* #define OPTIMIZE_CHANMUTE */