Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Eduardo Horvath <eeh@netbsd.org>
List: source-changes
Date: 05/18/2000 22:26:19
Module Name:	syssrc
Committed By:	eeh
Date:		Fri May 19 05:26:18 UTC 2000

Modified Files:
	syssrc/sys/arch/sparc/dev: kd.c
	syssrc/sys/arch/sparc64/conf: files.sparc64
	syssrc/sys/arch/sparc64/dev: cons.h consinit.c kd.c zs.c
	syssrc/sys/arch/sparc64/include: conf.h z8530var.h
	syssrc/sys/arch/sparc64/sparc64: autoconf.c conf.c ofw_machdep.c
	syssrc/sys/arch/sun3/dev: kd.c
	syssrc/sys/dev/sun: kbd_zs.c kbdvar.h

Log Message:
Fix the sparc64 console.

Unlike the other Sun machines, UltraSPARCs can have consoles run on different
chips than zs, so we need to support them.  So, here we go:

	Add a new PROM console driver with a major number and everything.
	This is the default driver if nothing else attaches.  It does not
	use the keyboard driver since the PROM translates keystrokes itself.
	(Unfortunately it also swallows L1-A).

	Have the keyboard driver take over the console when it attaches on a
	serial port.  When a serial port detects a keyboard and attaches the
	keyboard driver, it needs to provide a set of consdev vectors.  They
	keyboard driver will use those to send I/O to the keyboard and mouse.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/sparc/dev/kd.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/sparc64/conf/files.sparc64
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/sparc64/dev/cons.h
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/sparc64/dev/consinit.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/sparc64/dev/kd.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/sparc64/dev/zs.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/sparc64/include/conf.h
cvs rdiff -r1.1.1.1 -r1.2 syssrc/sys/arch/sparc64/include/z8530var.h
cvs rdiff -r1.29 -r1.30 syssrc/sys/arch/sparc64/sparc64/autoconf.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/sparc64/sparc64/conf.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/sparc64/sparc64/ofw_machdep.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/arch/sun3/dev/kd.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/sun/kbd_zs.c syssrc/sys/dev/sun/kbdvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.