Subject: Re: serial port speed
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Albert Chin-A-Young <china@pprd.abbott.com>
List: port-pmax
Date: 04/16/1998 17:43:56
On Thu, 16 Apr 1998, Jonathan Stone wrote:

>>I have a 5000/260 and am trying to get the serial port running
>>at a fast speed. I know it can do 38.4 but ftp throughput shows
>>me getting ~1300 baud (and I get a few silo overflow errors).
>>Anything I can do?

The 1300 above is a typo. It should really read 13000 baud.

>NetBSD 1.3.1 doesn't support the 38400 mode on 3maxes.. I'm not even
>sure it supports 19.200 (which is actually 19800 on the dc7085 and DZ-11s.)

According to /sys/arch/pmax/dev/tc.c, 19200 is in there. There's also
the following in the same file:

#ifdef notyet
        { 19200,LPR_B38400 },   /* Overloaded with 19200, per chip. */
#endif


>The reason is that there's a hardware bit in the motherboard control
>register. When the bit is set, the per-line 19800 speed setting
>is externallly rewired to an external clock which provides 38400.
>So trying to set 38400 clobbers any ports on the almost-19200 setting.

Is this an easy code change? I'd do it myself if I knew how. However,
I don't know enough about the architecture of the pmax to even know
where to begin.

>So far, the advice I've had is that the pmax/3max serial ports is a
>relatively low priority.  If you think this needs fixing for 1.3.2 (or
>1.3.3), please send in a change-request PR, and it'll get treated more
>urgently.

Ok.

>--Jonathan

-- 
albert chin (china@pprd.abbott.com)