diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-04-04 16:25:42 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-04-04 16:25:42 +0000 |
commit | 1b6c976e2fbad054955b3f1e9aa57414d5f7dab0 (patch) | |
tree | 3ada6a0e6e99c8e1cb2dd89d0d28ecfa97c15897 /drivers/dahdi/voicebus | |
parent | bd096e7becf14e3f6bf858cda48eb7b89fb8a65f (diff) |
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
Diffstat (limited to 'drivers/dahdi/voicebus')
-rw-r--r-- | drivers/dahdi/voicebus/voicebus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dahdi/voicebus/voicebus.c b/drivers/dahdi/voicebus/voicebus.c index e77d0e1..6736a2f 100644 --- a/drivers/dahdi/voicebus/voicebus.c +++ b/drivers/dahdi/voicebus/voicebus.c @@ -1564,7 +1564,8 @@ static void vb_tasklet_normal(unsigned long data) list_del(&vbb->entry); __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 * descriptor ring. Otherwise it's possible to take so much time |