From 7487ce229d3ae00a92262d9bf832fd03da3022e3 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Mon, 4 Apr 2011 16:25:42 +0000 Subject: [PATCH] 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 Acked-by: Michael Spiceland Acked-by: Kinsey Moore git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9887 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/voicebus/voicebus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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