Fix a problem with 8250 UARTs on PPC
PATCH 1/1 Fix a problem with 8250 UARTs on PPC
Hello. As part of the patch I sent that went into 2.6.0-test7 (Nat Semi SuperI/O chips on PPCs at least have a number of different divisors), the following should have been done as well, but wasn't. If we don't change the divisor, we don't want to change what we claim as the uart clock either. Without this I don't get a usable serial console on my Motorola Sandpoint.
drivers/serial/8250.c +1 -1
@@ -530,10 +530,10 @@ status1 |=0x10 ;/* 1.625 divisor for baud_base --> 921600 */ serial_outp (up,0x04 , status1);serial_outp (up,UART_LCR ,0 ); + up->port.uartclk =921600 *16 ;#endif up->port.type =PORT_NS16550A ; - up->port.uartclk =921600 *16 ;return ; } }
Signature · 2 lines
Tom Rini http://gate.crashing.org/~trini/
Russell King
AppliedQuoted 6 lines · Tom Rini
Hello. As part of the patch I sent that went into 2.6.0-test7 (Nat Semi SuperI/O chips on PPCs at least have a number of different divisors), the following should have been done as well, but wasn't. If we don't change the divisor, we don't want to change what we claim as the uart clock either. Without this I don't get a usable serial console on my Motorola Sandpoint.
Thanks, applied.
Signature · 4 lines
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core