summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-07-21 17:53:02 +0000
committerShaun Ruffell <sruffell@digium.com>2009-07-21 17:53:02 +0000
commite9f255d1defc4772a60dfee52674c8957ac5dc4c (patch)
tree3d717525e86304378d3a6fcc480e435a1b5ac0cb /include
parentb1457168b80caf78564fea07dcc70c60340c984e (diff)
dahdi-base: Add support for core timing.
This essentially moves the function of dahdi_dummy into the core of DAHDI. It ensures that if DAHDI is loaded, it will always be able to provide timing, regardless of whether there are board drivers loaded, or if the board drivers are properly calling dahdi_receive. If there is a master span loaded which is calling dahdi_receive, then the behavior will be like it is normally. This functionality is off by default, uncomment CONFIG_DAHDI_CORE_TIMER in include/dahdi/config_dahdi.h in order to enable it. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6863 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/dahdi_config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/dahdi/dahdi_config.h b/include/dahdi/dahdi_config.h
index 865439d..68547f1 100644
--- a/include/dahdi/dahdi_config.h
+++ b/include/dahdi/dahdi_config.h
@@ -115,6 +115,12 @@
*/
/* #define CONFIG_CAC_GROUNDSTART */
+/*
+ * Define CONFIG_DAHDI_CORE_TIMER if you would like dahdi to always provide a
+ * timing source regardless of which spans / drivers are configured.
+ */
+/* #define CONFIG_DAHDI_CORE_TIMER */
+
/*
* Uncomment if you happen have an early TDM400P Rev H which
* sometimes forgets its PCI ID to have wcfxs match essentially all
@@ -167,4 +173,6 @@
*/
/* #define OPTIMIZE_CHANMUTE */
+
+
#endif