From 24735ab455ab391f44e27b32516892c37fcc3506 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 3 Jan 2011 18:26:08 +0000 Subject: dahdi: Allow spans to advertise if they can provide any timing. Some spans, specifically dynamic local spans, should never be the timing master since they are dependent on some other timing source driving them. The bit in 'struct dahdi_span' is named cannot provide timing so that by default the other drivers will set it to 0. This is loosely related to issue #13205 but doesn't address any of the other elements of that issue about how to allow the user to configure what the master span order of succession is. (issue #13205) Reported by: biohumanoid Signed-off-by: Shaun Ruffell Acked-by: Kinsey Moore git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9581 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index 584eb8c..f181444 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -863,6 +863,7 @@ struct dahdi_span { int deflaw; /*!< Default law (DAHDI_MULAW or DAHDI_ALAW) */ int alarms; /*!< Pending alarms on span */ unsigned long flags; + u8 cannot_provide_timing:1; int irq; /*!< IRQ for this span's hardware */ int lbo; /*!< Span Line-Buildout */ int lineconfig; /*!< Span line configuration */ -- cgit v1.2.3