From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: Setting 31250 bps in ttySCx
Date: Fri, 02 Apr 2010 07:26:05 +0000 [thread overview]
Message-ID: <20100402072605.GA14056@linux-sh.org> (raw)
On Wed, Mar 31, 2010 at 06:35:12PM +0200, Fabio Giovagnini wrote:
> Hi All,
> I'd like to set B31250 to have 31250 bps on ttySC1.
> Do I have to define B31250 in asm/sh/termio.h and add in serial_core the
> couple
> 31250,B31250?
> Or do I need to add more over infos in other files?
>
No. If you want to use a custom baud rate that the internal baud rate
generator can deal with, then we can look at expanding the serial driver
to handle that via a custom speed setting, but that crap absolutely does
not belong in the common definitions which are only concerned with
standard rates.
This shouldn't be that much work, we can also support higher speeds today
that we don't presently wire up, so it should be possible to support both
fairly easily. I'll look in to adding this when I have some spare cycles.
next reply other threads:[~2010-04-02 7:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-02 7:26 Paul Mundt [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-03-31 16:35 Setting 31250 bps in ttySCx Fabio Giovagnini
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=20100402072605.GA14056@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
/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).