Index: stable/drivers/serial/cpm_uart/cpm_uart_core.c =================================================================== --- stable.orig/drivers/serial/cpm_uart/cpm_uart_core.c 2005-12-07 15:30:42.000000000 -0200 +++ stable/drivers/serial/cpm_uart/cpm_uart_core.c 2005-12-08 12:39:11.000000000 -0200 @@ -467,6 +467,7 @@ /* free interrupt handler */ free_irq(port->irq, port); +#if 0 /* If the port is not the console, disable Rx and Tx. */ if (!(pinfo->flags & FLAG_CONSOLE)) { /* Wait for all the BDs marked sent */ @@ -492,6 +493,7 @@ /* Shut them really down */ cpm_line_cr_cmd(line, CPM_CR_STOP_TX); } +#endif } static void cpm_uart_set_termios(struct uart_port *port, @@ -896,7 +898,7 @@ pinfo->sccp->scc_gsmrl &= ~(SCC_GSMRL_ENR | SCC_GSMRL_ENT); } - ret = cpm_uart_allocbuf(pinfo, 0); + ret = cpm_uart_allocbuf(pinfo, 1); if (ret) return ret; @@ -912,10 +914,12 @@ static void cpm_uart_release_port(struct uart_port *port) { +#if 0 struct uart_cpm_port *pinfo = (struct uart_cpm_port *)port; if (!(pinfo->flags & FLAG_CONSOLE)) cpm_uart_freebuf(pinfo); +#endif } /*