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

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Apr 22 16:36:19 CDT 2010


Author: sruffell
Date: Thu Apr 22 16:36:16 2010
New Revision: 8560

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8560
Log:
wcte12xp, wctdm24xxp: Ensure writes to I/O registers are flushed.

In revision 8176 I changed register access from I/O space to memory mapped
registers.  Unfortunately, when I made that change, I didn't account for
posted writes.  This change makes sure all the registers are read back to
ensure that they are posted through any intermediate bridges.

The most readily observable symptom were cards that were taking 2000
interrupts/second. The card reported that it handled an interrupt but the
write to silence the card wasn't flushed through until the second time the
interrupt handler run. DAHDI-602.

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=8560&r1=8559&r2=8560
==============================================================================
--- linux/trunk/drivers/dahdi/voicebus/voicebus.c (original)
+++ linux/trunk/drivers/dahdi/voicebus/voicebus.c Thu Apr 22 16:36:16 2010
@@ -433,6 +433,7 @@
 {
 	wmb();
 	writel(val, vb->iobase + addr);
+	readl(vb->iobase + addr);
 }
 
 /*!




More information about the svn-commits mailing list