Commit 996ec8c3 authored by James Morris's avatar James Morris Committed by David S. Miller

[SUNSAB]: Comment out powering down of chip for now.

parent cd8d109f
...@@ -583,10 +583,22 @@ static void sunsab_shutdown(struct uart_port *port) ...@@ -583,10 +583,22 @@ static void sunsab_shutdown(struct uart_port *port)
tmp &= ~SAB82532_MODE_RAC; tmp &= ~SAB82532_MODE_RAC;
writeb(tmp, &up->regs->rw.mode); writeb(tmp, &up->regs->rw.mode);
/*
* XXX FIXME
*
* If the chip is powered down here the system hangs/crashes during
* reboot or shutdown. This needs to be investigated further,
* similar behaviour occurs in 2.4 when the driver is configured
* as a module only. One hint may be that data is sometimes
* transmitted at 9600 baud during shutdown (regardless of the
* speed the chip was configured for when the port was open).
*/
#if 0
/* Power Down */ /* Power Down */
tmp = readb(&up->regs->rw.ccr0); tmp = readb(&up->regs->rw.ccr0);
tmp &= ~SAB82532_CCR0_PU; tmp &= ~SAB82532_CCR0_PU;
writeb(tmp, &up->regs->rw.ccr0); writeb(tmp, &up->regs->rw.ccr0);
#endif
spin_unlock_irqrestore(&up->port.lock, flags); spin_unlock_irqrestore(&up->port.lock, flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment