* sgiserial.c
@ 2000-10-09 20:32 Gordon McNutt
2000-10-10 3:13 ` sgiserial.c Marcus Herbert
0 siblings, 1 reply; 6+ messages in thread
From: Gordon McNutt @ 2000-10-09 20:32 UTC (permalink / raw)
To: linux-mips
I'm trying to get the Indy's serial port to drive a peripheral card at
115200 baud. It appears to work OK at 9600 baud (the serial port that is
-- the card expects 115200 baud).
First of all, it lookslike the baud_table (in sgiserial.c) used to
convert termios.c_cflag bits to a numeric baud rate was outdated so I
fixed it up. Didn't help. It looks like transmit interrupts are
occurring and the driver is trying to write them to the chip (one byte
per interrupt..? ok, whatever works), but the other end usually isn't
getting anything. When reading, the Indy seems to get bytes but they
don't look good.
BTW, I've tried compiling the kernel without console support on the
serial line but I still get some console messages during boot (at 9600
baud). Haven't looked too hard at that yet... When I force everybody to
use 115200 baud (via a hack) I don't see the console messages (yes, I
changed minicom to expect 115200 in this case). It just seems like the
chip is not correctly being set to operate at 115200 -- even when
I force it to try.
Has anybody else tried to make the serial port speak 115200?
Thanks,
--Gordon
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sgiserial.c
2000-10-09 20:32 sgiserial.c Gordon McNutt
@ 2000-10-10 3:13 ` Marcus Herbert
2000-10-10 3:19 ` sgiserial.c Keith Owens
0 siblings, 1 reply; 6+ messages in thread
From: Marcus Herbert @ 2000-10-10 3:13 UTC (permalink / raw)
To: Linux on MIPS
On Mon, Oct 09, 2000 at 02:32:26PM -0600, Gordon McNutt wrote:
> I'm trying to get the Indy's serial port to drive a peripheral card at
> 115200 baud. It appears to work OK at 9600 baud (the serial port that is
> -- the card expects 115200 baud).
It is limited to 38400 bit/second on hardware side. Read IRIX serial
manpage:
[..]
SUPPORTED SPEEDS
The serial ports of all SGI systems support several standard rates
up through 38400 bps (see termio(7) for these standard rates).
The serial ports on O2, OCTANE, Origin2000, Onyx2 and Origin200
systems also support
31250 57600
76800 115200
[..]
This is common knowlegde btw ;-)
--
PGP2 Key-ID: 666/36540865 1997/06/09 <rhoenie@spam-filter.de>
GPG Key-ID: 1024D/2E2DAB44 2000-01-30 <rhoenie@spam-filter.de>
Geek-Code: GCS b O e+ h
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sgiserial.c
2000-10-10 3:13 ` sgiserial.c Marcus Herbert
@ 2000-10-10 3:19 ` Keith Owens
2000-10-10 3:45 ` sgiserial.c Ralf Baechle
0 siblings, 1 reply; 6+ messages in thread
From: Keith Owens @ 2000-10-10 3:19 UTC (permalink / raw)
To: Linux on MIPS
On Tue, 10 Oct 2000 05:13:48 +0200,
Marcus Herbert <rhoenie@spam-filter.de> wrote:
>SUPPORTED SPEEDS
> The serial ports of all SGI systems support several standard rates
> up through 38400 bps (see termio(7) for these standard rates).
> The serial ports on O2, OCTANE, Origin2000, Onyx2 and Origin200
> systems also support
>
> 31250 57600
> 76800 115200
FWIW, O2's may be rated at 115200 but I can kill my O2 by feeding it
the output from a Linux serial console at 115200. No diagnostics, just
a solid machine hang.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sgiserial.c
2000-10-10 3:19 ` sgiserial.c Keith Owens
@ 2000-10-10 3:45 ` Ralf Baechle
2000-10-10 9:41 ` sgiserial.c Alan Cox
0 siblings, 1 reply; 6+ messages in thread
From: Ralf Baechle @ 2000-10-10 3:45 UTC (permalink / raw)
To: Keith Owens; +Cc: Linux on MIPS
On Tue, Oct 10, 2000 at 02:19:17PM +1100, Keith Owens wrote:
> > The serial ports of all SGI systems support several standard rates
> > up through 38400 bps (see termio(7) for these standard rates).
> > The serial ports on O2, OCTANE, Origin2000, Onyx2 and Origin200
> > systems also support
> >
> > 31250 57600
> > 76800 115200
>
> FWIW, O2's may be rated at 115200 but I can kill my O2 by feeding it
> the output from a Linux serial console at 115200. No diagnostics, just
> a solid machine hang.
The Origin's IOC3 16550 can go even higher rates at low interrupt load
due to it's higher crystal frequency and a NIC-like DMA descriptors.
We just don't do it yet in the Linux driver ...
Ralf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sgiserial.c
@ 2000-10-10 9:41 ` Alan Cox
0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2000-10-10 9:41 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Keith Owens, Linux on MIPS
> The Origin's IOC3 16550 can go even higher rates at low interrupt load
> due to it's higher crystal frequency and a NIC-like DMA descriptors.
> We just don't do it yet in the Linux driver ...
165x0 chips on x86 running in normal FIFO modes we can do 900Kbits pretty
solidly. You should be able to hit the full 2Mbit without trying
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: sgiserial.c
@ 2000-10-10 9:41 ` Alan Cox
0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2000-10-10 9:41 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Keith Owens, Linux on MIPS
> The Origin's IOC3 16550 can go even higher rates at low interrupt load
> due to it's higher crystal frequency and a NIC-like DMA descriptors.
> We just don't do it yet in the Linux driver ...
165x0 chips on x86 running in normal FIFO modes we can do 900Kbits pretty
solidly. You should be able to hit the full 2Mbit without trying
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2000-10-10 9:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-09 20:32 sgiserial.c Gordon McNutt
2000-10-10 3:13 ` sgiserial.c Marcus Herbert
2000-10-10 3:19 ` sgiserial.c Keith Owens
2000-10-10 3:45 ` sgiserial.c Ralf Baechle
2000-10-10 9:41 ` sgiserial.c Alan Cox
2000-10-10 9:41 ` sgiserial.c Alan Cox
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.