diff -urdpNX /usr/share/dontdiff -x Makefile linux-2.6.19.vanilla/drivers/serial/8250.c linux-2.6.19/drivers/serial/8250.c --- linux-2.6.19.vanilla/drivers/serial/8250.c 2006-12-19 20:18:26.000000000 +0300 +++ linux-2.6.19/drivers/serial/8250.c 2006-12-19 19:53:04.000000000 +0300 @@ -1548,7 +1548,7 @@ static int serial8250_startup(struct uar if (up->port.type == PORT_16C950) { /* Wake up and initialize UART */ - up->acr = 0; + up->acr = port->initial_acr; serial_outp(up, UART_LCR, 0xBF); serial_outp(up, UART_EFR, UART_EFR_ECB); serial_outp(up, UART_IER, 0); @@ -2599,6 +2599,7 @@ int serial8250_register_port(struct uart uart->port.iotype = port->iotype; uart->port.flags = port->flags | UPF_BOOT_AUTOCONF; uart->port.mapbase = port->mapbase; + uart->port.initial_acr = port->initial_acr; if (port->dev) uart->port.dev = port->dev; diff -urdpNX /usr/share/dontdiff -x Makefile linux-2.6.19.vanilla/drivers/serial/8250.h linux-2.6.19/drivers/serial/8250.h --- linux-2.6.19.vanilla/drivers/serial/8250.h 2006-12-19 20:44:12.000000000 +0300 +++ linux-2.6.19/drivers/serial/8250.h 2006-12-19 20:28:29.000000000 +0300 @@ -29,6 +29,8 @@ struct old_serial_port { unsigned short iomem_reg_shift; }; +#define initial_acr unused[0] + /* * This replaces serial_uart_config in include/linux/serial.h */