--- zzzz-none-000/linux-2.6.39.4/arch/x86/boot/early_serial_console.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/arch/x86/boot/early_serial_console.c 2021-11-10 13:23:10.000000000 +0000 @@ -1,5 +1,5 @@ #include "boot.h" - +#include #define DEFAULT_SERIAL_PORT 0x3f8 /* ttyS0 */ #define XMTRDY 0x20 @@ -28,9 +28,9 @@ outb(0x3, port + LCR); /* 8n1 */ outb(0, port + IER); /* no interrupt */ outb(0, port + FCR); /* no fifo */ - outb(0x3, port + MCR); /* DTR + RTS */ + outb(0x0, port + MCR); /* DTR + RTS */ - divisor = 115200 / baud; + divisor = BASE_BAUD/baud; c = inb(port + LCR); outb(c | DLAB, port + LCR); outb(divisor & 0xff, port + DLL); @@ -95,7 +95,6 @@ early_serial_init(port, baud); } -#define BASE_BAUD (1843200/16) static unsigned int probe_baud(int port) { unsigned char lcr, dll, dlh;