[svn-commits] sruffell: linux/trunk r9887 - /linux/trunk/drivers/dahdi/voicebus/voicebus.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Apr 4 11:25:46 CDT 2011


Author: sruffell
Date: Mon Apr  4 11:25:42 2011
New Revision: 9887

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9887
Log:
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 at digium.com>
Acked-by: Michael Spiceland <mspiceland at digium.com>
Acked-by: Kinsey Moore <kmoore at digium.com>

Modified:
    linux/trunk/drivers/dahdi/voicebus/voicebus.c

Modified: linux/trunk/drivers/dahdi/voicebus/voicebus.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=9887&r1=9886&r2=9887
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/voicebus.c Mon Apr  4 11:25:42 2011
@@ -1564,7 +1564,8 @@
 		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




More information about the svn-commits mailing list