From: Tom Rini <trini@kernel.crashing.org>
To: Russell King <rmk@arm.linux.org.uk>,
Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix a problem with 8250 UARTs on PPC
Date: Fri, 12 Dec 2003 12:00:12 -0700 [thread overview]
Message-ID: <20031212190012.GT23731@stop.crashing.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 853 bytes --]
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.
--- 1.41/drivers/serial/8250.c Tue Oct 21 22:10:07 2003
+++ edited/drivers/serial/8250.c Fri Dec 12 11:57:13 2003
@@ -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;
}
}
--
Tom Rini
http://gate.crashing.org/~trini/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2003-12-12 19:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-12 19:00 Tom Rini [this message]
2003-12-12 19:35 ` [PATCH] Fix a problem with 8250 UARTs on PPC Russell King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031212190012.GT23731@stop.crashing.org \
--to=trini@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.