diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-10-26 19:00:28 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2011-10-26 19:00:28 +0000 |
commit | 835a0a722df18f4db9ccf5daf7bd54266d14e4a7 (patch) | |
tree | d657ae1054c91c3127088a14499582fad841c6af /drivers/dahdi/wct4xxp/base.c | |
parent | 581df51b0dfcf3148dad593cb13705fd6896d5ed (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 'drivers/dahdi/wct4xxp/base.c')
-rw-r--r-- | drivers/dahdi/wct4xxp/base.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c index 4bdea1f..a58fd99 100644 --- a/drivers/dahdi/wct4xxp/base.c +++ b/drivers/dahdi/wct4xxp/base.c @@ -1813,7 +1813,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; @@ -3569,13 +3568,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); |