Subject: serial speed > 19200 on a pmax ?
To: Thomas Graichen <graichen@rzpd.de>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 01/16/1997 10:54:53
>is there any chance to get the serial ports on a pmax (especially on a
>5000/200) higher than 19200 - there is a line in
>src/sys/arch/pmax/dev/dc.c saying:
>
>#ifdef notyet
> { 19200,LPR_B38400 }, /* Overloaded with 19200, per chip. */
>#endif
>what does this mean - and how far is not yet ?
On the 5000/200 *only*, there's a bit on the baseboard "system
register" that causes the dc7085 chip to output 38400 instead of 19200
for all lines set to 19200.
I've never had a reason to implement the code to check that
no ports are at 19200 and then to set the bit; or to
do the converse (check that no ttys are at 38400, then clear
the bit).
I suppose just a per-chip global variable, and letting only the
superuser set lines to 38400 or 19200 -- which would toggle
the meaning for *all* lines -- would work.