linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: cbe-oss-dev@ozlabs.org, Arnd Bergmann <arnd@arndb.de>,
	linuxppc-dev@ozlabs.org
Subject: Re: [RFC] powerpc: experimental of serial port driver
Date: Sat, 09 Dec 2006 17:39:10 +0000	[thread overview]
Message-ID: <1165685950.5253.456.camel@pmac.infradead.org> (raw)
In-Reply-To: <457AE7D6.4060503@ru.mvista.com>

On Sat, 2006-12-09 at 19:44 +0300, Sergei Shtylyov wrote:
> Then it should be something like "nc16750\0ns16550\0ns16450\08250". 

Those aren't particularly interesting distinctions -- they're dead easy
to probe for. The really interesting one is the type of SuperIO chip
it's compatible with -- which specifies how you get baud rates above
115200. For some chips (SMSC iirc) you have a 'magic multiplier'; by
setting the divisor to 0x8001 or 0x8002 you get 230400/460800 baud resp.
For NatSemi type chips you have baud rate divisors in an alternate bank,
and you get a higher baud_base if you use those but if you use the
registers in bank zero it reverts to 115200, etc. 

-- 
dwmw2

  reply	other threads:[~2006-12-09 17:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-07 20:40 [RFC] powerpc: experimental of serial port driver Arnd Bergmann
2006-12-08  4:43 ` Benjamin Herrenschmidt
2006-12-08 14:41   ` David Woodhouse
2006-12-08 15:12     ` Arnd Bergmann
2006-12-08 20:50       ` Benjamin Herrenschmidt
2006-12-08 23:42         ` Arnd Bergmann
2006-12-09  2:13           ` Benjamin Herrenschmidt
2006-12-09 16:44             ` Sergei Shtylyov
2006-12-09 17:39               ` David Woodhouse [this message]
2006-12-08 20:50     ` Benjamin Herrenschmidt

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=1165685950.5253.456.camel@pmac.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=arnd@arndb.de \
    --cc=cbe-oss-dev@ozlabs.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=sshtylyov@ru.mvista.com \
    /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).