From: Tom Rini <trini@kernel.crashing.org>
To: James F Dougherty <jfd@GigabitNetworks.COM>
Cc: mgreer@mvista.com, linuxppc-embedded@lists.linuxppc.org,
ppcboot-users@lists.sourceforge.net
Subject: Re: ISA SIO Problems
Date: Tue, 31 Jul 2001 08:05:52 -0700 [thread overview]
Message-ID: <20010731080552.B15710@opus.bloom.county> (raw)
In-Reply-To: <200107310352.UAA02739@krakatoa.gigabitnetworks.com>
On Mon, Jul 30, 2001 at 08:52:09PM -0700, James F Dougherty wrote:
> When I fixed this, I immediately got console garbage (DLL value wrong for baud),
> so I hard-coded the com1 uart baud to 9600 as a temporary hack.
Er, check out the 'serial_struct' I think it is, in include/linux/serial.h,
you might try setting the 'custom_divisor' field, maybe..
> On the baud mismatch, I found out that my system uses a 14.3Mhz UART crystal,
> so the baud rates should change. Is there a clean way to change a #define, or
> should I define my own baud2code/code2baud translation routines. What is the
> cleanest way todo this?
In include/asm-ppc/mousse_serial.h: #define BASE_BAUD (14300000 / 16) maybe?
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2001-07-31 15:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200107310352.UAA02739@krakatoa.gigabitnetworks.com>
2001-07-31 15:05 ` Tom Rini [this message]
2001-07-28 23:54 ISA SIO Problems James F Dougherty
2001-07-29 0:09 ` Tom Rini
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=20010731080552.B15710@opus.bloom.county \
--to=trini@kernel.crashing.org \
--cc=jfd@GigabitNetworks.COM \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=mgreer@mvista.com \
--cc=ppcboot-users@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).