Subject: Re: serial speed > 19200 on a pmax ?
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Marc Evans <marc@destek.net>
List: port-pmax
Date: 01/16/1997 14:03:54
> 
> >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.

A hack we used to use under Ultrix and OSF/1 was to enter the following at 
the boot prompt:

	e 0xbff00000
	[ some number is printed; mentally OR in 0x100 to it ]
	d 0xbff00000 {number from above}
	boot

Yes, it's a real hack, and may not work in NetBSD....

- Marc
===============================================================================
Marc Evans                            WB1GRH      The Destek Networking Group
E-Mail: Marc@Destek.NET                           One Indian Head Plaza
URL: http://WWW.Destek.NET/~marc                  Nashua, NH, USA 03060
MIME-1.0 & Enriched-Text mail accepted            603 594 9630 (V) 598 8864 (F)
PGP-2.6 key available upon request                WAN & Internet Services
PGP-2.6 Fingerprint:  20 7C A2 DB 17 B2 21 80  47 AA B9 CD D9 DE 31 CC
       The XFree86[tm] Project, Inc. Industry Liason <Marc@XFree86.Org>
===============================================================================