[svn-commits] sruffell: branch linux/sruffell/wctdm24xxp-cmdlist r9846 - /linux/team/sruffe...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Mar 16 16:39:41 CDT 2011


Author: sruffell
Date: Wed Mar 16 16:39:38 2011
New Revision: 9846

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9846
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>

Modified:
    linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c

Modified: linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c?view=diff&rev=9846&r1=9845&r2=9846
==============================================================================
--- linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/team/sruffell/wctdm24xxp-cmdlist/drivers/dahdi/voicebus/voicebus.c Wed Mar 16 16:39:38 2011
@@ -1562,7 +1562,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