From 835a0a722df18f4db9ccf5daf7bd54266d14e4a7 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Wed, 26 Oct 2011 19:00:28 +0000 Subject: 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 git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10276 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- include/dahdi/kernel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 */ -- cgit v1.2.3