[svn-commits] sruffell: branch linux/2.4 r9657 - in /linux/branches/2.4/drivers/dahdi: ./ w...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jan 20 23:27:53 CST 2011


Author: sruffell
Date: Thu Jan 20 23:27:49 2011
New Revision: 9657

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

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9316

Modified:
    linux/branches/2.4/drivers/dahdi/wcte11xp.c
    linux/branches/2.4/drivers/dahdi/wcte12xp/base.c

Modified: linux/branches/2.4/drivers/dahdi/wcte11xp.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/wcte11xp.c?view=diff&rev=9657&r1=9656&r2=9657
==============================================================================
--- linux/branches/2.4/drivers/dahdi/wcte11xp.c (original)
+++ linux/branches/2.4/drivers/dahdi/wcte11xp.c Thu Jan 20 23:27:49 2011
@@ -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/branches/2.4/drivers/dahdi/wcte12xp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.4/drivers/dahdi/wcte12xp/base.c?view=diff&rev=9657&r1=9656&r2=9657
==============================================================================
--- linux/branches/2.4/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/branches/2.4/drivers/dahdi/wcte12xp/base.c Thu Jan 20 23:27:49 2011
@@ -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 svn-commits mailing list