CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Oct 18 14:45:54 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: GENERIC

Log Message:
Back out 965


To generate a diff of this commit:
cvs rdiff -u -r1.205.4.2 -r1.205.4.3 src/sys/arch/sparc/conf/GENERIC

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

Modified files:

Index: src/sys/arch/sparc/conf/GENERIC
diff -u src/sys/arch/sparc/conf/GENERIC:1.205.4.2 src/sys/arch/sparc/conf/GENERIC:1.205.4.3
--- src/sys/arch/sparc/conf/GENERIC:1.205.4.2	Sun Oct 18 13:33:29 2009
+++ src/sys/arch/sparc/conf/GENERIC	Sun Oct 18 14:45:54 2009
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.205.4.2 2009/10/18 13:33:29 bouyer Exp $
+# $NetBSD: GENERIC,v 1.205.4.3 2009/10/18 14:45:54 bouyer Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.205.4.2 $"
+#ident 		"GENERIC-$Revision: 1.205.4.3 $"
 
 maxusers	32
 
@@ -45,29 +45,13 @@
 
 ## Use a faster console than the PROM's slow drawing routines.  Not needed
 ## for headless (no framebuffer) machines.
-## These is obsolete for wscons kernels
-#options 	RASTERCONSOLE		# fast rasterop console
-#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
-#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
-
-# wscons stuff
-options		WSEMUL_SUN
-#options		WSEMUL_VT100
-options		WSDISPLAY_COMPAT_RAWKBD
-options		WSDISPLAY_CUSTOM_OUTPUT
-options		WS_DEFAULT_FG=WSCOL_BLACK
-options		WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
-options		WS_KERNEL_FG=WSCOL_GREEN
-options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
-options		WSDISPLAY_COMPAT_PCVT
-options 	WSDISPLAY_COMPAT_SYSCONS
-options		WSDISPLAY_COMPAT_USL
-
-options		WSDISPLAY_SCROLLSUPPORT
-
-# generic options vlid for both wscons and RASTERCONSOLE
+options 	RASTERCONSOLE		# fast rasterop console
 options 	FONT_GALLANT12x22	# the console font
 #options 	FONT_BOLD8x16		# a somewhat smaller font
+## default console colors: black-on-white; this can be changed
+## using the following two options.
+#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
+#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
 
  System options that are the same for all ports
 
@@ -332,23 +316,16 @@
 zs0	at obio0 addr 0xf100 level 12		# sun4/200 and sun4/300
 zs0	at obio0 addr 0x0100 level 12		# sun4/100
 zs0	at bootbus0	# sun4d
+zstty0	at zs0 channel 0# ttya
+zstty1	at zs0 channel 1# ttyb
 
 zs1	at mainbus0	# sun4c
 zs1	at obio0	# sun4m
 zs1	at obio0 addr 0xf000 level 12		# sun4/200 and sun4/300
 zs1	at obio0 addr 0x level 12		# sun4/100
 zs1	at bootbus0	# sun4d
-
-# old kbd and mouse attachments
-#kbd0	at zs1 channel 0# keyboard
-#ms0	at zs1 channel 1# mouse
-zstty*	at zs?
-
-# these are for wscons
-kbd0	at zstty?
-ms0	at zstty?
-wskbd*	at wskbddev?
-wsmouse* 	at wsmousedev?
+kbd0	at zs1 channel 0# keyboard
+ms0	at zs1 channel 1# mouse
 
 zs2	at obio0 addr 0xe000 level 12		# sun4/300
 zstty2	at zs2 channel 0# ttyc
@@ -660,8 +637,7 @@
 bwtwo0		at obio0 addr 0x0b30 level 4	# sun4/100 in P4 slot
 
 ## Sun "cgtwo" VME color framebuffer
-# XXX no wsdisplay support
-#cgtwo0		at vme0 addr 0x40 irq ? vect 0xa8
+cgtwo0		at vme0 addr 0x40 irq ? vect 0xa8
 
 ## Sun "cgthree" Sbus color framebuffer
 cgthree0	at sbus? slot ? offset ?
@@ -670,9 +646,8 @@
 
 ## Sun "cgfour" color framebuffer with overlay plane.  See above comment
 ## regarding overlay plane.
-# XXX no wsdisplay support
-#cgfour0		at obio0 addr 0xfb30 level 4	# sun4/300 P4
-#cgfour0		at obio0 addr 0x0b30 level 4	# sun4/100 P4
+cgfour0		at obio0 addr 0xfb30 level 4	# sun4/300 P4
+cgfour0		at obio0 addr 0x0b30 level 4	# sun4/100 P4
 
 ## Sun "cgsix" accelerated color framebuffer.
 cgsix0		at sbus? slot ? offset ?
@@ -681,31 +656,21 @@
 cgsix0		at obio0 addr 0x0b00 level 4	# sun4/100 P4
 
 ## Sun "cgeight" 24-bit framebuffer
-# XXX no wsdisplay support
-#cgeight0 	at obio0 addr 0xfb30 level 4	# sun4/300 P4
-#cgeight0	at obio0 addr 0x0b30 level 4	# sun4/100 P4
+cgeight0 	at obio0 addr 0xfb30 level 4	# sun4/300 P4
+cgeight0	at obio0 addr 0x0b30 level 4	# sun4/100 P4
 
 ## Sun "tcx" accelerated color framebuffer.
-# XXX no wsdisplay support
-#tcx0		at sbus? slot ? offset ?
-#tcx*		at sbus? slot ? offset ?
+tcx0		at sbus? slot ? offset ?
+tcx*		at sbus? slot ? offset ?
 
 # Sun "cgfourteen" accelerated 24-bit framebuffer.
-cgfourteen*	at obio0			# sun4m
+cgfourteen0	at obio0			# sun4m
 
 # P9100-based display on Tadpole SPARCbook 3.
 pnozz0		at sbus? slot ? offset ?
 
 # Sun ZX/Leo 24-bit framebuffer
-# XXX no wsdisplay support
-#zx*		at sbus? slot ? offset ?
-
-# Fujitsu AG-10e accelerated graphics 8/24-bit board
-agten*	at sbus? slot ? offset ?
-
-# make sure wsdisplay0 is the console
-wsdisplay0	at wsemuldisplaydev? console 1
-wsdisplay*	at wsemuldisplaydev?
+zx*		at sbus? slot ? offset ?
 
  Other devi

CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Oct 18 14:43:09 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: INSTALL

Log Message:
Back out ticket 968


To generate a diff of this commit:
cvs rdiff -u -r1.62.4.1 -r1.62.4.2 src/sys/arch/sparc/conf/INSTALL

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

Modified files:

Index: src/sys/arch/sparc/conf/INSTALL
diff -u src/sys/arch/sparc/conf/INSTALL:1.62.4.1 src/sys/arch/sparc/conf/INSTALL:1.62.4.2
--- src/sys/arch/sparc/conf/INSTALL:1.62.4.1	Sun Oct 18 13:35:29 2009
+++ src/sys/arch/sparc/conf/INSTALL	Sun Oct 18 14:43:09 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL,v 1.62.4.1 2009/10/18 13:35:29 bouyer Exp $
+#	$NetBSD: INSTALL,v 1.62.4.2 2009/10/18 14:43:09 bouyer Exp $
 #
 # from: NetBSD: GENERIC,v 1.84 1999/06/06 13:00:03 mrg Exp
 #
@@ -47,16 +47,6 @@
 #options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
 #options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
 
-# wscons stuff
-options		WSEMUL_SUN
-#options		WSEMUL_VT100
-options		WSDISPLAY_COMPAT_RAWKBD
-options		WSDISPLAY_CUSTOM_OUTPUT
-options		WS_DEFAULT_FG=WSCOL_BLACK
-options		WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
-options		WS_KERNEL_FG=WSCOL_GREEN
-options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
-
  System options that are the same for all ports
 
 ## Root device configuration: change the ?'s if you are going to use a
@@ -280,21 +270,20 @@
 zs0	at obio0	# sun4m
 zs0	at obio0 addr 0xf100 level 12 flags 0x103	# sun4/200 and sun4/300
 zs0	at obio0 addr 0x0100 level 12 flags 0x103	# sun4/100
+zstty0	at zs0 channel 0	# ttya
+zstty1	at zs0 channel 1	# ttyb
 
 zs1	at mainbus0	# sun4c
 zs1	at obio0	# sun4m
 zs1	at obio0 addr 0xf000 level 12 flags 0x103	# sun4/200 and sun4/300
 zs1	at obio0 addr 0x level 12 flags 0x103	# sun4/100
+kbd0	at zs1 channel 0	# keyboard
+ms0	at zs1 channel 1	# mouse
 
-zs2	at obio0 addr 0xe000 level 12		# sun4/300
-
-zstty*	at zs?
+zs2	at obio0 addr 0xe000 level 12 flags 0x103	# sun4/300
+zstty2	at zs2 channel 0	# ttyc
+zstty3	at zs2 channel 1	# ttyd
 
-# these are for wscons
-kbd0	at zstty?
-ms0	at zstty?
-wskbd*	at wskbddev?
-wsmouse* 	at wsmousedev?
 
 ## Magma Serial/Parallel driver
 #magma*	at sbus? slot ? offset ?
@@ -556,28 +545,12 @@
 #cgeight0	at obio0 addr 0x0b30 level 4	# sun4/100 P4
 
 ## Sun "tcx" accelerated color framebuffer.
-#tcx0		at sbus? slot ? offset ?
-#tcx*		at sbus? slot ? offset ?
+tcx0		at sbus? slot ? offset ?
+tcx*		at sbus? slot ? offset ?
 
 # Sun "cgfourteen" accelerated 24-bit framebuffer.
-cgfourteen*	at obio0			# sun4m
-
-# P9100-based display on Tadpole SPARCbook 3.
-pnozz0		at sbus? slot ? offset ?
-
-# Sun ZX/Leo 24-bit framebuffer
-# XXX no wsdisplay support
-#zx*		at sbus? slot ? offset ?
+cgfourteen0	at obio0			# sun4m
 
-# Fujitsu AG-10e accelerated graphics 8/24-bit board
-agten*	at sbus? slot ? offset ?
-
-# generic framebuffer console
-genfb*	at sbus? slot ? offset ?
-
-# make sure wsdisplay0 is the console
-wsdisplay0	at wsemuldisplaydev? console 1
-wsdisplay*	at wsemuldisplaydev?
 
  Other device configuration
 
@@ -590,6 +563,3 @@
 
 pseudo-device	rnd
 #pseudo-device	fss		4	# file system snapshot device
-
-pseudo-device	wsmux			# mouse and keyboard multiplexor
-pseudo-device	wsfont



CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Oct 18 14:36:30 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: MRCOFFEE

Log Message:
Back out ticket 990


To generate a diff of this commit:
cvs rdiff -u -r1.23.20.2 -r1.23.20.3 src/sys/arch/sparc/conf/MRCOFFEE

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

Modified files:

Index: src/sys/arch/sparc/conf/MRCOFFEE
diff -u src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.2 src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.3
--- src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.2	Sun Oct 18 14:01:49 2009
+++ src/sys/arch/sparc/conf/MRCOFFEE	Sun Oct 18 14:36:30 2009
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.23.20.2 2009/10/18 14:01:49 bouyer Exp $
+# $NetBSD: MRCOFFEE,v 1.23.20.3 2009/10/18 14:36:30 bouyer Exp $
 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
 #
 # Mr.Coffee (JavaStation 1) machine description file
@@ -12,7 +12,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"MRCOFFEE-$Revision: 1.23.20.2 $"
+#ident 		"MRCOFFEE-$Revision: 1.23.20.3 $"
 
 maxusers	32
 
@@ -29,21 +29,16 @@
 # Blink the power LED on some machines to indicate the system load.
 #options 	BLINK
 
-# builtin terminal emulations
-options 	WSEMUL_SUN		# sun terminal emulation
-options 	WSEMUL_VT100		# VT100 / VT220 emulation
-options 	WSEMUL_DEFAULT="\"vt100\""
-
-# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
-options 	WSDISPLAY_COMPAT_RAWKBD
-options 	WSDISPLAY_CUSTOM_OUTPUT
-options 	WS_DEFAULT_FG=WSCOL_BLACK
-options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
-options 	WS_KERNEL_FG=WSCOL_GREEN
-options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
-options 	WSDISPLAY_SCROLLSUPPORT
-options 	FONT_GALLANT12x22	# the console font
-
+# XXX: uwe: TCX driver doesn't support RASTERCONSOLE, so don't bother
+## Use a faster console than the PROM's slow drawing routines.  Not needed
+## for headless (no framebuffer) machines.
+#options 	RASTERCONSOLE		# fast rasterop console
+#options 	FONT_GALLANT12x22	# the console font
+#options 	FONT_BOLD8x16		# a somewhat smaller font
+## default console colors: black-on-white; this can be changed
+## using the following two options.
+#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
+#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
 
  System options that are the same for all ports
 
@@ -255,14 +250,9 @@
  Keyboard and mouse
 
 pckbc0	at obio0
-#kbd0	at pckbc0
-#ms0	at pckbc0
-#wskbd* 		at kbd? console ?
-#wsmouse*	at ms? mux 0
-pckbd*		at pckbc?		# PC keyboard
-pms*		at pckbc?		# PS/2 mouse for wsmouse
-wskbd* 		at pckbd? console ?
-wsmouse*	at pms? mux 0
+kbd0	at pckbc0
+ms0	at pckbc0
+
 
  Disk controllers and disks
 
@@ -326,7 +316,7 @@
 
 ## Sun "tcx" accelerated color framebuffer.
 tcx0		at sbus? slot ? offset ?
-wsdisplay0	at tcx0
+
 
  Other device configuration
 
@@ -344,6 +334,3 @@
 
 pseudo-device	clockctl		# user control of clock subsystem
 pseudo-device	ksyms			# /dev/ksyms
-
-pseudo-device	wsmux			# mouse and keyboard multiplexor
-pseudo-device	wsfont



CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Oct 18 14:01:50 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: MRCOFFEE

Log Message:
Pull up following revision(s) (requested by macallan in ticket #990):
sys/arch/sparc/conf/MRCOFFEE: revision 1.29
add the missing wscons bits so this kernel builds again
needs testing on actual hardware which I don't have.


To generate a diff of this commit:
cvs rdiff -u -r1.23.20.1 -r1.23.20.2 src/sys/arch/sparc/conf/MRCOFFEE

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

Modified files:

Index: src/sys/arch/sparc/conf/MRCOFFEE
diff -u src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.1 src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.2
--- src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.1	Fri Oct 16 06:30:02 2009
+++ src/sys/arch/sparc/conf/MRCOFFEE	Sun Oct 18 14:01:49 2009
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.23.20.1 2009/10/16 06:30:02 snj Exp $
+# $NetBSD: MRCOFFEE,v 1.23.20.2 2009/10/18 14:01:49 bouyer Exp $
 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
 #
 # Mr.Coffee (JavaStation 1) machine description file
@@ -12,7 +12,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"MRCOFFEE-$Revision: 1.23.20.1 $"
+#ident 		"MRCOFFEE-$Revision: 1.23.20.2 $"
 
 maxusers	32
 
@@ -29,16 +29,21 @@
 # Blink the power LED on some machines to indicate the system load.
 #options 	BLINK
 
-# XXX: uwe: TCX driver doesn't support RASTERCONSOLE, so don't bother
-## Use a faster console than the PROM's slow drawing routines.  Not needed
-## for headless (no framebuffer) machines.
-#options 	RASTERCONSOLE		# fast rasterop console
-#options 	FONT_GALLANT12x22	# the console font
-#options 	FONT_BOLD8x16		# a somewhat smaller font
-## default console colors: black-on-white; this can be changed
-## using the following two options.
-#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
-#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
+# builtin terminal emulations
+options 	WSEMUL_SUN		# sun terminal emulation
+options 	WSEMUL_VT100		# VT100 / VT220 emulation
+options 	WSEMUL_DEFAULT="\"vt100\""
+
+# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
+options 	WSDISPLAY_COMPAT_RAWKBD
+options 	WSDISPLAY_CUSTOM_OUTPUT
+options 	WS_DEFAULT_FG=WSCOL_BLACK
+options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
+options 	WS_KERNEL_FG=WSCOL_GREEN
+options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
+options 	WSDISPLAY_SCROLLSUPPORT
+options 	FONT_GALLANT12x22	# the console font
+
 
  System options that are the same for all ports
 
@@ -250,9 +255,14 @@
  Keyboard and mouse
 
 pckbc0	at obio0
-kbd0	at pckbc0
-ms0	at pckbc0
-
+#kbd0	at pckbc0
+#ms0	at pckbc0
+#wskbd* 		at kbd? console ?
+#wsmouse*	at ms? mux 0
+pckbd*		at pckbc?		# PC keyboard
+pms*		at pckbc?		# PS/2 mouse for wsmouse
+wskbd* 		at pckbd? console ?
+wsmouse*	at pms? mux 0
 
  Disk controllers and disks
 
@@ -316,7 +326,7 @@
 
 ## Sun "tcx" accelerated color framebuffer.
 tcx0		at sbus? slot ? offset ?
-
+wsdisplay0	at tcx0
 
  Other device configuration
 
@@ -334,3 +344,6 @@
 
 pseudo-device	clockctl		# user control of clock subsystem
 pseudo-device	ksyms			# /dev/ksyms
+
+pseudo-device	wsmux			# mouse and keyboard multiplexor
+pseudo-device	wsfont



CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Oct 18 13:35:29 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: INSTALL

Log Message:
Pull up following revision(s) (requested by macallan in ticket #968):
sys/arch/sparc/conf/INSTALL: revision 1.64
convert to wscons, while there add some missing wsdisplay drivers


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.62.4.1 src/sys/arch/sparc/conf/INSTALL

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

Modified files:

Index: src/sys/arch/sparc/conf/INSTALL
diff -u src/sys/arch/sparc/conf/INSTALL:1.62 src/sys/arch/sparc/conf/INSTALL:1.62.4.1
--- src/sys/arch/sparc/conf/INSTALL:1.62	Thu Jul 31 07:41:07 2008
+++ src/sys/arch/sparc/conf/INSTALL	Sun Oct 18 13:35:29 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL,v 1.62 2008/07/31 07:41:07 simonb Exp $
+#	$NetBSD: INSTALL,v 1.62.4.1 2009/10/18 13:35:29 bouyer Exp $
 #
 # from: NetBSD: GENERIC,v 1.84 1999/06/06 13:00:03 mrg Exp
 #
@@ -47,6 +47,16 @@
 #options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
 #options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
 
+# wscons stuff
+options		WSEMUL_SUN
+#options		WSEMUL_VT100
+options		WSDISPLAY_COMPAT_RAWKBD
+options		WSDISPLAY_CUSTOM_OUTPUT
+options		WS_DEFAULT_FG=WSCOL_BLACK
+options		WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
+options		WS_KERNEL_FG=WSCOL_GREEN
+options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
+
  System options that are the same for all ports
 
 ## Root device configuration: change the ?'s if you are going to use a
@@ -270,20 +280,21 @@
 zs0	at obio0	# sun4m
 zs0	at obio0 addr 0xf100 level 12 flags 0x103	# sun4/200 and sun4/300
 zs0	at obio0 addr 0x0100 level 12 flags 0x103	# sun4/100
-zstty0	at zs0 channel 0	# ttya
-zstty1	at zs0 channel 1	# ttyb
 
 zs1	at mainbus0	# sun4c
 zs1	at obio0	# sun4m
 zs1	at obio0 addr 0xf000 level 12 flags 0x103	# sun4/200 and sun4/300
 zs1	at obio0 addr 0x level 12 flags 0x103	# sun4/100
-kbd0	at zs1 channel 0	# keyboard
-ms0	at zs1 channel 1	# mouse
 
-zs2	at obio0 addr 0xe000 level 12 flags 0x103	# sun4/300
-zstty2	at zs2 channel 0	# ttyc
-zstty3	at zs2 channel 1	# ttyd
+zs2	at obio0 addr 0xe000 level 12		# sun4/300
+
+zstty*	at zs?
 
+# these are for wscons
+kbd0	at zstty?
+ms0	at zstty?
+wskbd*	at wskbddev?
+wsmouse* 	at wsmousedev?
 
 ## Magma Serial/Parallel driver
 #magma*	at sbus? slot ? offset ?
@@ -545,12 +556,28 @@
 #cgeight0	at obio0 addr 0x0b30 level 4	# sun4/100 P4
 
 ## Sun "tcx" accelerated color framebuffer.
-tcx0		at sbus? slot ? offset ?
-tcx*		at sbus? slot ? offset ?
+#tcx0		at sbus? slot ? offset ?
+#tcx*		at sbus? slot ? offset ?
 
 # Sun "cgfourteen" accelerated 24-bit framebuffer.
-cgfourteen0	at obio0			# sun4m
+cgfourteen*	at obio0			# sun4m
+
+# P9100-based display on Tadpole SPARCbook 3.
+pnozz0		at sbus? slot ? offset ?
+
+# Sun ZX/Leo 24-bit framebuffer
+# XXX no wsdisplay support
+#zx*		at sbus? slot ? offset ?
 
+# Fujitsu AG-10e accelerated graphics 8/24-bit board
+agten*	at sbus? slot ? offset ?
+
+# generic framebuffer console
+genfb*	at sbus? slot ? offset ?
+
+# make sure wsdisplay0 is the console
+wsdisplay0	at wsemuldisplaydev? console 1
+wsdisplay*	at wsemuldisplaydev?
 
  Other device configuration
 
@@ -563,3 +590,6 @@
 
 pseudo-device	rnd
 #pseudo-device	fss		4	# file system snapshot device
+
+pseudo-device	wsmux			# mouse and keyboard multiplexor
+pseudo-device	wsfont



CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-18 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Oct 18 13:33:29 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: GENERIC

Log Message:
Pull up following revision(s) (requested by macallan in ticket #965):
sys/arch/sparc/conf/GENERIC: revision 1.208
wscons here we come!
(finally)


To generate a diff of this commit:
cvs rdiff -u -r1.205.4.1 -r1.205.4.2 src/sys/arch/sparc/conf/GENERIC

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

Modified files:

Index: src/sys/arch/sparc/conf/GENERIC
diff -u src/sys/arch/sparc/conf/GENERIC:1.205.4.1 src/sys/arch/sparc/conf/GENERIC:1.205.4.2
--- src/sys/arch/sparc/conf/GENERIC:1.205.4.1	Fri Oct 16 06:30:01 2009
+++ src/sys/arch/sparc/conf/GENERIC	Sun Oct 18 13:33:29 2009
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.205.4.1 2009/10/16 06:30:01 snj Exp $
+# $NetBSD: GENERIC,v 1.205.4.2 2009/10/18 13:33:29 bouyer Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.205.4.1 $"
+#ident 		"GENERIC-$Revision: 1.205.4.2 $"
 
 maxusers	32
 
@@ -45,14 +45,30 @@
 
 ## Use a faster console than the PROM's slow drawing routines.  Not needed
 ## for headless (no framebuffer) machines.
-options 	RASTERCONSOLE		# fast rasterop console
-options 	FONT_GALLANT12x22	# the console font
-#options 	FONT_BOLD8x16		# a somewhat smaller font
-## default console colors: black-on-white; this can be changed
-## using the following two options.
+## These is obsolete for wscons kernels
+#options 	RASTERCONSOLE		# fast rasterop console
 #options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
 #options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
 
+# wscons stuff
+options		WSEMUL_SUN
+#options		WSEMUL_VT100
+options		WSDISPLAY_COMPAT_RAWKBD
+options		WSDISPLAY_CUSTOM_OUTPUT
+options		WS_DEFAULT_FG=WSCOL_BLACK
+options		WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
+options		WS_KERNEL_FG=WSCOL_GREEN
+options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
+options		WSDISPLAY_COMPAT_PCVT
+options 	WSDISPLAY_COMPAT_SYSCONS
+options		WSDISPLAY_COMPAT_USL
+
+options		WSDISPLAY_SCROLLSUPPORT
+
+# generic options vlid for both wscons and RASTERCONSOLE
+options 	FONT_GALLANT12x22	# the console font
+#options 	FONT_BOLD8x16		# a somewhat smaller font
+
  System options that are the same for all ports
 
 ## Root device configuration: change the ?'s if you are going to use a
@@ -316,16 +332,23 @@
 zs0	at obio0 addr 0xf100 level 12		# sun4/200 and sun4/300
 zs0	at obio0 addr 0x0100 level 12		# sun4/100
 zs0	at bootbus0	# sun4d
-zstty0	at zs0 channel 0# ttya
-zstty1	at zs0 channel 1# ttyb
 
 zs1	at mainbus0	# sun4c
 zs1	at obio0	# sun4m
 zs1	at obio0 addr 0xf000 level 12		# sun4/200 and sun4/300
 zs1	at obio0 addr 0x level 12		# sun4/100
 zs1	at bootbus0	# sun4d
-kbd0	at zs1 channel 0# keyboard
-ms0	at zs1 channel 1# mouse
+
+# old kbd and mouse attachments
+#kbd0	at zs1 channel 0# keyboard
+#ms0	at zs1 channel 1# mouse
+zstty*	at zs?
+
+# these are for wscons
+kbd0	at zstty?
+ms0	at zstty?
+wskbd*	at wskbddev?
+wsmouse* 	at wsmousedev?
 
 zs2	at obio0 addr 0xe000 level 12		# sun4/300
 zstty2	at zs2 channel 0# ttyc
@@ -637,7 +660,8 @@
 bwtwo0		at obio0 addr 0x0b30 level 4	# sun4/100 in P4 slot
 
 ## Sun "cgtwo" VME color framebuffer
-cgtwo0		at vme0 addr 0x40 irq ? vect 0xa8
+# XXX no wsdisplay support
+#cgtwo0		at vme0 addr 0x40 irq ? vect 0xa8
 
 ## Sun "cgthree" Sbus color framebuffer
 cgthree0	at sbus? slot ? offset ?
@@ -646,8 +670,9 @@
 
 ## Sun "cgfour" color framebuffer with overlay plane.  See above comment
 ## regarding overlay plane.
-cgfour0		at obio0 addr 0xfb30 level 4	# sun4/300 P4
-cgfour0		at obio0 addr 0x0b30 level 4	# sun4/100 P4
+# XXX no wsdisplay support
+#cgfour0		at obio0 addr 0xfb30 level 4	# sun4/300 P4
+#cgfour0		at obio0 addr 0x0b30 level 4	# sun4/100 P4
 
 ## Sun "cgsix" accelerated color framebuffer.
 cgsix0		at sbus? slot ? offset ?
@@ -656,21 +681,31 @@
 cgsix0		at obio0 addr 0x0b00 level 4	# sun4/100 P4
 
 ## Sun "cgeight" 24-bit framebuffer
-cgeight0 	at obio0 addr 0xfb30 level 4	# sun4/300 P4
-cgeight0	at obio0 addr 0x0b30 level 4	# sun4/100 P4
+# XXX no wsdisplay support
+#cgeight0 	at obio0 addr 0xfb30 level 4	# sun4/300 P4
+#cgeight0	at obio0 addr 0x0b30 level 4	# sun4/100 P4
 
 ## Sun "tcx" accelerated color framebuffer.
-tcx0		at sbus? slot ? offset ?
-tcx*		at sbus? slot ? offset ?
+# XXX no wsdisplay support
+#tcx0		at sbus? slot ? offset ?
+#tcx*		at sbus? slot ? offset ?
 
 # Sun "cgfourteen" accelerated 24-bit framebuffer.
-cgfourteen0	at obio0			# sun4m
+cgfourteen*	at obio0			# sun4m
 
 # P9100-based display on Tadpole SPARCbook 3.
 pnozz0		at sbus? slot ? offset ?
 
 # Sun ZX/Leo 24-bit framebuffer
-zx*		at sbus? slot ? offset ?
+# XXX no wsdisplay support
+#zx*		at sbus? slot ? offset ?
+

CVS commit: [netbsd-5] src/sys/arch/sparc/conf

2009-10-15 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Oct 16 06:30:02 UTC 2009

Modified Files:
src/sys/arch/sparc/conf [netbsd-5]: GENERIC KRUPS MRCOFFEE TADPOLE3GX

Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #1065):
sys/arch/sparc/conf/GENERIC: revision 1.214
sys/arch/sparc/conf/KRUPS: revision 1.50
sys/arch/sparc/conf/MRCOFFEE: revision 1.28
sys/arch/sparc/conf/TADPOLE3GX: revision 1.47
Enable ddb(4) for sparc GENERIC-like kernels.
Discussed on port-sp...@.


To generate a diff of this commit:
cvs rdiff -u -r1.205 -r1.205.4.1 src/sys/arch/sparc/conf/GENERIC
cvs rdiff -u -r1.45 -r1.45.20.1 src/sys/arch/sparc/conf/KRUPS
cvs rdiff -u -r1.23 -r1.23.20.1 src/sys/arch/sparc/conf/MRCOFFEE
cvs rdiff -u -r1.42 -r1.42.30.1 src/sys/arch/sparc/conf/TADPOLE3GX

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

Modified files:

Index: src/sys/arch/sparc/conf/GENERIC
diff -u src/sys/arch/sparc/conf/GENERIC:1.205 src/sys/arch/sparc/conf/GENERIC:1.205.4.1
--- src/sys/arch/sparc/conf/GENERIC:1.205	Sun Aug 10 15:31:22 2008
+++ src/sys/arch/sparc/conf/GENERIC	Fri Oct 16 06:30:01 2009
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.205 2008/08/10 15:31:22 tls Exp $
+# $NetBSD: GENERIC,v 1.205.4.1 2009/10/16 06:30:01 snj Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.205 $"
+#ident 		"GENERIC-$Revision: 1.205.4.1 $"
 
 maxusers	32
 
@@ -98,8 +98,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over

Index: src/sys/arch/sparc/conf/KRUPS
diff -u src/sys/arch/sparc/conf/KRUPS:1.45 src/sys/arch/sparc/conf/KRUPS:1.45.20.1
--- src/sys/arch/sparc/conf/KRUPS:1.45	Mon Dec 31 15:32:06 2007
+++ src/sys/arch/sparc/conf/KRUPS	Fri Oct 16 06:30:01 2009
@@ -1,4 +1,4 @@
-# $NetBSD: KRUPS,v 1.45 2007/12/31 15:32:06 ad Exp $
+# $NetBSD: KRUPS,v 1.45.20.1 2009/10/16 06:30:01 snj Exp $
 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
 #
 # Krups (JavaStation-NC) machine description file
@@ -8,7 +8,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"KRUPS-$Revision: 1.45 $"
+#ident 		"KRUPS-$Revision: 1.45.20.1 $"
 
 maxusers	32
 
@@ -119,8 +119,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over

Index: src/sys/arch/sparc/conf/MRCOFFEE
diff -u src/sys/arch/sparc/conf/MRCOFFEE:1.23 src/sys/arch/sparc/conf/MRCOFFEE:1.23.20.1
--- src/sys/arch/sparc/conf/MRCOFFEE:1.23	Mon Dec 31 15:32:06 2007
+++ src/sys/arch/sparc/conf/MRCOFFEE	Fri Oct 16 06:30:02 2009
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.23 2007/12/31 15:32:06 ad Exp $
+# $NetBSD: MRCOFFEE,v 1.23.20.1 2009/10/16 06:30:02 snj Exp $
 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
 #
 # Mr.Coffee (JavaStation 1) machine description file
@@ -12,7 +12,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"MRCOFFEE-$Revision: 1.23 $"
+#ident 		"MRCOFFEE-$Revision: 1.23.20.1 $"
 
 maxusers	32
 
@@ -90,8 +90,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over

Index: src/sys/arch/sparc/conf/TADPOLE3GX
diff -u src/sys/arch/sparc/conf/TADPOLE3GX:1.42 src/sys/arch/sparc/conf/TADPOLE3GX:1.42.30.1
--- src/sys/arch/sparc/conf/TADPOLE3GX:1.42	Wed Oct 17 19:57:11 2007
+++ src/sys/arch/sparc/conf/TADPOLE3GX	Fri Oct 16 06:30:02 2