Subject: Re: DEC vt320 terminal problem
To: Shannon <shannon@widomaker.com>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 06/25/2001 22:29:06
[ On Monday, June 25, 2001 at 21:13:10 (-0400), Shannon wrote: ]
> Subject: Re: DEC vt320 terminal problem
>
> I've got the same thing, but at 19200.  No joy.

I haven't tried it yet (it wasn't available by anonymous CVS last time I
checked, around noon EDT), but this change might improve things:


----------
Module Name:	syssrc
Committed By:	wdk
Date:		Mon Jun 25 08:30:12 UTC 2001

Modified Files:
	syssrc/sys/dev/ic: z8530sc.c

Log Message:
Don't reprogram SCC registers unless the values have changed.

Some CMOS Z85C30 SCC's (as used in the SGI Indy and Mips Magnum 3000's)
reset the baud rate generator when a new prescaler is loaded - despite
what is documented in the datasheet.

Avoids "character glitch" problems when line discipline characteristics
are changed at the start of the login process, or during a ftp session
on the /dev/console device.

Tested on -sgimips, -mipsco and -alpha platforms


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/ic/z8530sc.c
----------

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>