~xnox/debian/sid/dahdi-linux/nmu-659818

« back to all changes in this revision

Viewing changes to include/dahdi/dahdi_config.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell, Tzafrir Cohen, Victor Seva
  • Date: 2009-05-20 07:22:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090520072246-y1ba8ofc81ykgf8z
Tags: 1:2.2.0~dfsg~rc4-1
* New upstream release

[ Tzafrir Cohen ]
* NOT RELEASED YET
* Dropped qozap as wcb4xxp provides that functionality.
* New upstream RC.
* Actually build OpenVox drivers.
* opvxa1200.c: rev. 1.4.12.4 (battery fixes and such)
* Fix '${match}' in udev rules file (hardwire).
* no_firmware_download: Disable downloading a binary kernel module at 
  build time.

[ Victor Seva ]
* fix debian/watch. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * DAHDI configuration options 
 
3
 *
 
4
 */
 
5
 
 
6
/*
 
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.
 
12
 *
 
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.
 
17
 */
 
18
 
 
19
#ifndef _DAHDI_CONFIG_H
 
20
#define _DAHDI_CONFIG_H
 
21
 
 
22
#ifdef __KERNEL__
 
23
#include <linux/version.h>
 
24
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
 
25
#include <linux/config.h>
 
26
#else
 
27
#include <linux/autoconf.h>
 
28
#endif
 
29
#endif
 
30
 
 
31
/* DAHDI compile time options */
 
32
 
 
33
/*
 
34
 * Uncomment if you have a European phone, or any other phone with a 
 
35
 *  short flash time.
 
36
 * This will stop the flash being mis-detected as a pulse dial "1" on
 
37
 *  phones with short flashes
 
38
 */
 
39
/* #define SHORT_FLASH_TIME */
 
40
 
 
41
/*
 
42
 * Uncomment to disable calibration and/or DC/DC converter tests
 
43
 * (not generally recommended)
 
44
 */
 
45
/* #define NO_CALIBRATION */
 
46
/* #define NO_DCDC */
 
47
 
 
48
/*
 
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.
 
52
 */
 
53
/* #define BOOST_RINGER */
 
54
 
 
55
/*
 
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
 
58
 *
 
59
 */
 
60
/* #define CONFIG_CALC_XLAW */
 
61
 
 
62
/*
 
63
 * Define if you want MMX optimizations in DAHDI
 
64
 *
 
65
 * Note: CONFIG_DAHDI_MMX is generally incompatible with AMD 
 
66
 * processors and can cause system instability!
 
67
 * 
 
68
 */
 
69
/* #define CONFIG_DAHDI_MMX */
 
70
 
 
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
 
77
#endif
 
78
#endif
 
79
 
 
80
#ifdef CONFIG_PPP
 
81
#define CONFIG_DAHDI_PPP
 
82
#endif
 
83
 
 
84
/*
 
85
 * Uncomment CONFIG_DAHDI_NET to enable SyncPPP, CiscoHDLC, and Frame Relay
 
86
 * support.
 
87
 */
 
88
/* #define CONFIG_DAHDI_NET */
 
89
 
 
90
/*
 
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).
 
94
 */
 
95
/* #define CONFIG_OLD_HDLC_API */
 
96
 
 
97
/*
 
98
 * Uncomment for Generic PPP support (i.e. ZapRAS)
 
99
 */
 
100
/* #define CONFIG_DAHDI_PPP */
 
101
/*
 
102
 * Uncomment to enable "watchdog" to monitor if interfaces
 
103
 * stop taking interrupts or otherwise misbehave
 
104
 */
 
105
/* #define CONFIG_DAHDI_WATCHDOG */
 
106
 
 
107
/*
 
108
 * Uncomment the following to include extra debugging output.
 
109
 */
 
110
/* #define CONFIG_DAHDI_DEBUG */
 
111
 
 
112
/*
 
113
 * Uncomment for Non-standard FXS groundstart start state (A=Low, B=Low)
 
114
 * particularly for CAC channel bank groundstart FXO ports.
 
115
 */
 
116
/* #define CONFIG_CAC_GROUNDSTART */
 
117
 
 
118
/* 
 
119
 * Uncomment if you happen have an early TDM400P Rev H which 
 
120
 * sometimes forgets its PCI ID to have wcfxs match essentially all
 
121
 * subvendor ID's
 
122
 */
 
123
/* #define TDM_REVH_MATCHALL */
 
124
 
 
125
/* 
 
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 :-) ).
 
128
 *
 
129
 * NOTE: *DO NOT* Enable "EMFLASH" and "EMPULSE" at the same time!!
 
130
 *
 
131
 */
 
132
/* #define EMFLASH */
 
133
 
 
134
/* 
 
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}
 
139
 * to be recognized.
 
140
 *
 
141
 * NOTE: *DO NOT* Enable "EMFLASH" and "EMPULSE" at the same time!!
 
142
 *
 
143
 */
 
144
/* #define EMPULSE */
 
145
 
 
146
/* 
 
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.
 
150
 */
 
151
#define RINGBEGIN
 
152
 
 
153
/* 
 
154
 * Uncomment the following if you need to support FXS Flash events.
 
155
 * Most applications will want this commented out.
 
156
 */
 
157
/* #define FXSFLASH */
 
158
 
 
159
/*
 
160
 * Enable sync_tick() calls. Allows low-level drivers to synchronize
 
161
 * their internal clocks to the DAHDI master clock.
 
162
 */
 
163
#define DAHDI_SYNC_TICK
 
164
 
 
165
/*
 
166
 * Skip processing PCM if low-level driver won't use it anyway
 
167
 */
 
168
/* #define      OPTIMIZE_CHANMUTE */
 
169
 
 
170
#endif