wcte12xp, wctdm24xxp: Remove a PCI read from hardirq context.

No need for the CPU to wait there for that write to flush when all the
writes will be flushed when the interrupt is acknoledged later. Saves
nearly a 1 us from the interrupt handler on a 3Ghz Xeon test system.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Michael Spiceland <mspiceland@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9887 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Shaun Ruffell 2011-04-04 16:25:42 +00:00
parent 5ffb28b1f0
commit 7487ce229d

View File

@ -1564,7 +1564,8 @@ static void vb_tasklet_normal(unsigned long data)
list_del(&vbb->entry); list_del(&vbb->entry);
__voicebus_transmit(vb, vbb); __voicebus_transmit(vb, vbb);
} }
__vb_setctl(vb, 0x0008, 0x00000000);
writel(0, vb->iobase + 0x8);
/* Print any messages about soft latency bumps after we fix the transmit /* Print any messages about soft latency bumps after we fix the transmit
* descriptor ring. Otherwise it's possible to take so much time * descriptor ring. Otherwise it's possible to take so much time