summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-10-26 19:00:28 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-10-26 19:00:28 +0000
commit835a0a722df18f4db9ccf5daf7bd54266d14e4a7 (patch)
treed657ae1054c91c3127088a14499582fad841c6af /include
parent581df51b0dfcf3148dad593cb13705fd6896d5ed (diff)
dahdi: Remove dahdi_span.irq and move dahdi_span.irqmisses into dahdi_device.
'irqmisses' is more a function of the device and there are better ways to get to IRQ for a device than storing it in any DAHDI structures. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10276 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'include')
-rw-r--r--include/dahdi/kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h
index bb32126..b4df850 100644
--- a/include/dahdi/kernel.h
+++ b/include/dahdi/kernel.h
@@ -904,6 +904,7 @@ struct dahdi_span_ops {
* a hardware_id). This should not change if the device is
* relocated to a different location (e.g: different PCI slot)
* @devicetype: What type of device this is.
+ * @irqmisses: Count of "interrupt misses" for this device.
*
*/
struct dahdi_device {
@@ -913,6 +914,7 @@ struct dahdi_device {
const char *hardware_id;
const char *devicetype;
struct device dev;
+ unsigned int irqmisses;
};
struct dahdi_span {
@@ -924,7 +926,6 @@ struct dahdi_span {
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 */
int linecompat; /*!< Span line compatibility (0 for
@@ -938,7 +939,6 @@ struct dahdi_span {
int maintstat; /*!< Maintenance state */
int mainttimer; /*!< Maintenance timer */
- int irqmisses; /*!< Interrupt misses */
int timingslips; /*!< Clock slips */
struct dahdi_chan **chans; /*!< Member channel structures */