[dahdi-commits] kmoore: linux/trunk r9316 - in /linux/trunk/drivers/dahdi: ./ wcte12xp/

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Fri Sep 10 10:54:40 CDT 2010


Author: kmoore
Date: Fri Sep 10 10:54:35 2010
New Revision: 9316

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9316
Log:
wcte11xp, wcte12xp: Fix a long-standing issue with shutdown

Upon shutdown, both drivers would attempt to power down external
interfaces, but never attempted to bring them back up when the span was
restarted.  Removing that code allows the driver to work properly until
a better solution can be found.

Modified:
    linux/trunk/drivers/dahdi/wcte11xp.c
    linux/trunk/drivers/dahdi/wcte12xp/base.c

Modified: linux/trunk/drivers/dahdi/wcte11xp.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte11xp.c?view=diff&rev=9316&r1=9315&r2=9316
==============================================================================
--- linux/trunk/drivers/dahdi/wcte11xp.c (original)
+++ linux/trunk/drivers/dahdi/wcte11xp.c Fri Sep 10 10:54:35 2010
@@ -918,7 +918,6 @@
 	unsigned long flags;
 
 	spin_lock_irqsave(&wc->lock, flags);
-	__t1_framer_out(wc, 0x46, 0x41);	/* GCR: Interrupt on Activation/Deactivation of AIX, LOS */
 	__t1xxp_stop_dma(wc);
 	__t1xxp_disable_interrupts(wc);
 	span->flags &= ~DAHDI_FLAG_RUNNING;

Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=9316&r1=9315&r2=9316
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Fri Sep 10 10:54:35 2010
@@ -984,7 +984,6 @@
 static int t1xxp_shutdown(struct dahdi_span *span)
 {
 	struct t1 *wc = container_of(span, struct t1, span);
-	t1_setreg(wc, 0x46, 0x41);	/* GCR: Interrupt on Activation/Deactivation of AIX, LOS */
 	clear_bit(DAHDI_FLAGBIT_RUNNING, &span->flags);
 	return 0;
 }




More information about the dahdi-commits mailing list