[zaptel-commits] mattf: branch 1.4 r1937 - /branches/1.4/
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Tue Jan 23 14:49:16 MST 2007
Author: mattf
Date: Tue Jan 23 15:49:15 2007
New Revision: 1937
URL: http://svn.digium.com/view/zaptel?view=rev&rev=1937
Log:
Merged revisions 1936 via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r1936 | mattf | 2007-01-23 15:28:14 -0600 (Tue, 23 Jan 2007) | 3 lines
Make sure we don't clear the interrupt before we might have received it in
shared interrupt line scenarios.
........
Modified:
branches/1.4/ (props changed)
branches/1.4/wct1xxp.c
branches/1.4/wctdm.c
branches/1.4/wctdm24xxp.c
branches/1.4/wcte11xp.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/wct1xxp.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wct1xxp.c?view=diff&rev=1937&r1=1936&r2=1937
==============================================================================
--- branches/1.4/wct1xxp.c (original)
+++ branches/1.4/wct1xxp.c Tue Jan 23 15:49:15 2007
@@ -1134,14 +1134,14 @@
int x;
ints = inb(wc->ioaddr + WC_INTSTAT);
- outb(ints, wc->ioaddr + WC_INTSTAT);
-
if (!ints)
#ifdef LINUX26
return IRQ_NONE;
#else
return;
#endif
+
+ outb(ints, wc->ioaddr + WC_INTSTAT);
if (!wc->intcount) {
if (debug) printk("Got interrupt: 0x%04x\n", ints);
Modified: branches/1.4/wctdm.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wctdm.c?view=diff&rev=1937&r1=1936&r2=1937
==============================================================================
--- branches/1.4/wctdm.c (original)
+++ branches/1.4/wctdm.c Tue Jan 23 15:49:15 2007
@@ -1037,7 +1037,6 @@
int mode;
ints = inb(wc->ioaddr + WC_INTSTAT);
- outb(ints, wc->ioaddr + WC_INTSTAT);
if (!ints)
#ifdef LINUX26
@@ -1045,6 +1044,8 @@
#else
return;
#endif
+
+ outb(ints, wc->ioaddr + WC_INTSTAT);
if (ints & 0x10) {
/* Stop DMA, wait for watchdog */
Modified: branches/1.4/wctdm24xxp.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wctdm24xxp.c?view=diff&rev=1937&r1=1936&r2=1937
==============================================================================
--- branches/1.4/wctdm24xxp.c (original)
+++ branches/1.4/wctdm24xxp.c Tue Jan 23 15:49:15 2007
@@ -1559,7 +1559,6 @@
/* Read and clear interrupts */
ints = wctdm_getctl(wc, 0x0028);
- wctdm_setctl(wc, 0x0028, ints);
if (!ints)
#ifdef LINUX26
@@ -1567,6 +1566,9 @@
#else
return;
#endif
+
+ wctdm_setctl(wc, 0x0028, ints);
+
ints &= wc->intmask;
if (ints & 0x00000041) {
do {
Modified: branches/1.4/wcte11xp.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/wcte11xp.c?view=diff&rev=1937&r1=1936&r2=1937
==============================================================================
--- branches/1.4/wcte11xp.c (original)
+++ branches/1.4/wcte11xp.c Tue Jan 23 15:49:15 2007
@@ -1289,14 +1289,14 @@
int x;
ints = inb(wc->ioaddr + WC_INTSTAT);
- outb(ints, wc->ioaddr + WC_INTSTAT);
-
if (!ints)
#ifdef LINUX26
return IRQ_NONE;
#else
return;
#endif
+
+ outb(ints, wc->ioaddr + WC_INTSTAT);
if (!wc->intcount) {
if (debug) printk("Got interrupt: 0x%04x\n", ints);
More information about the zaptel-commits
mailing list