|
@@ -257,9 +257,10 @@ mpc52xx_uart_shutdown(struct uart_port *port)
|
|
|
{
|
|
|
struct mpc52xx_psc __iomem *psc = PSC(port);
|
|
|
|
|
|
- /* Shut down the port, interrupt and all */
|
|
|
+ /* Shut down the port. Leave TX active if on a console port */
|
|
|
out_8(&psc->command,MPC52xx_PSC_RST_RX);
|
|
|
- out_8(&psc->command,MPC52xx_PSC_RST_TX);
|
|
|
+ if (!uart_console(port))
|
|
|
+ out_8(&psc->command,MPC52xx_PSC_RST_TX);
|
|
|
|
|
|
port->read_status_mask = 0;
|
|
|
out_be16(&psc->mpc52xx_psc_imr,port->read_status_mask);
|