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

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.4@9657 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Shaun Ruffell
2011-01-21 05:27:49 +00:00
parent 957841819b
commit 6e12364fc4
2 changed files with 0 additions and 2 deletions

View File

@@ -918,7 +918,6 @@ static int t1xxp_shutdown(struct dahdi_span *span)
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;

View File

@@ -984,7 +984,6 @@ static int t1xxp_startup(struct dahdi_span *span)
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;
}