/* * Zaptel configuration options * */ #ifndef _ZCONFIG_H #define _ZCONFIG_H #ifdef __KERNEL__ #include #include #endif /* Zaptel compile time options */ /* * Uncomment to disable calibration and/or DC/DC converter tests * (not generally recommended) */ /* #define NO_CALIBRATION */ /* #define NO_DCDC */ /* * Boost ring voltage (Higher ring voltage, takes more power) */ /* #define BOOST_RINGER */ /* * Define CONFIG_CALC_XLAW if you have a small number of channels and/or * a small level 2 cache, to optimize for few channels * */ /* #define CONFIG_CALC_XLAW */ /* * Define if you want MMX optimizations in zaptel * * Note: CONFIG_ZAPTEL_MMX is generally incompatible with AMD * processors and can cause system instability! * */ /* #define CONFIG_ZAPTEL_MMX */ /* * Pick your echo canceller: MARK2, MARK3, STEVE, or STEVE2 :) */ /* #define ECHO_CAN_STEVE */ /* #define ECHO_CAN_STEVE2 */ /* #define ECHO_CAN_MARK */ #define ECHO_CAN_MARK2 /* #define ECHO_CAN_MARK3 */ /* * Uncomment for aggressive residual echo supression under * MARK2 echo canceller */ /* #define AGGRESSIVE_SUPPRESSOR */ /* We now use the linux kernel config to detect which options to use */ /* You can still override them below */ #ifdef CONFIG_HDLC #define CONFIG_ZAPATA_NET #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,20) #define CONFIG_OLD_HDLC_API #endif #endif #ifdef CONFIG_PPP #define CONFIG_ZAPATA_PPP #endif /* * Uncomment CONFIG_ZAPATA_NET to enable SyncPPP, CiscoHDLC, and Frame Relay * support. */ /* #define CONFIG_ZAPATA_NET */ /* * Uncomment CONFIG_OLD_HDLC_API if your are compiling with ZAPATA_NET * defined and you are using the old kernel HDLC interface (or if you get * an error about ETH_P_HDLC while compiling). */ /* #define CONFIG_OLD_HDLC_API */ /* * Uncomment for Generic PPP support (i.e. ZapRAS) */ /* #define CONFIG_ZAPATA_PPP */ /* * Uncomment to enable "watchdog" to monitor if interfaces * stop taking interrupts or otherwise misbehave */ /* #define CONFIG_ZAPTEL_WATCHDOG */ /* Tone zone info */ #define DEFAULT_TONE_ZONE 0 /* * Uncomment for Non-standard FXS groundstart start state (A=Low, B=Low) * particularly for CAC channel bank groundstart FXO ports. */ /* #define CONFIG_CAC_GROUNDSTART */ #endif