* Setting 31250 bps in ttySCx
@ 2010-03-31 16:35 Fabio Giovagnini
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Giovagnini @ 2010-03-31 16:35 UTC (permalink / raw)
To: linux-sh
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?
Thanks a lot
--
Fabio Giovagnini
Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Setting 31250 bps in ttySCx
@ 2010-04-02 7:26 Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-04-02 7:26 UTC (permalink / raw)
To: linux-sh
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-02 7:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-02 7:26 Setting 31250 bps in ttySCx Paul Mundt
-- strict thread matches above, loose matches on Subject: below --
2010-03-31 16:35 Fabio Giovagnini
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).