summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wct4xxp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-03-03 12:42:31 -0600
committerShaun Ruffell <sruffell@digium.com>2011-04-15 14:21:14 -0500
commitf900e1f229bbd4e04229052b18a1dc6cacbb0e52 (patch)
tree88000a1a498af9c4b15324a7275f50a46bf2e667 /drivers/dahdi/wct4xxp
parent3080253725eb7a1ba1cec08735c1476a3fd3c1c7 (diff)
dahdi: Move irq/irqmisses from dahdi_span into dahdi_device.
These fields do not have anything to do with the span. Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Diffstat (limited to 'drivers/dahdi/wct4xxp')
-rw-r--r--drivers/dahdi/wct4xxp/base.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c
index b4a4206..5448455 100644
--- a/drivers/dahdi/wct4xxp/base.c
+++ b/drivers/dahdi/wct4xxp/base.c
@@ -2129,7 +2129,6 @@ static void init_spans(struct t4 *wc)
ts->span.spantype = "J1";
break;
}
- ts->span.irq = wc->dev->irq;
/* HDLC Specific init */
ts->sigchan = NULL;
@@ -3920,13 +3919,10 @@ DAHDI_IRQ_HANDLER(t4_interrupt_gen2)
}
if (needed_latency > wc->numbufs) {
- int x;
-
dev_info(&wc->dev->dev, "Need to increase "
"latency. Estimated latency should "
"be %d\n", needed_latency);
- for (x = 0; x < wc->numspans; x++)
- wc->tspans[x]->span.irqmisses++;
+ wc->ddev->irqmisses++;
wc->needed_latency = needed_latency;
__t4_pci_out(wc, WC_DMACTRL, 0x00000000);
set_bit(T4_CHANGE_LATENCY, &wc->checkflag);