CVS commit: src/sys/arch/sun3/conf

2024-01-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jan 13 19:31:40 UTC 2024

Modified Files:
src/sys/arch/sun3/conf: GENERIC

Log Message:
Disable more several pseudo-devices to shrink binary size.

My 3/60 fails to boot from a SCSI disk without this change.
 https://mail-index.netbsd.org/port-sun3/2024/01/13/msg000207.html

Should be pulled up to netbsd-10.


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/sys/arch/sun3/conf/GENERIC

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



CVS commit: src/sys/arch/sun3/conf

2024-01-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Jan 13 19:31:40 UTC 2024

Modified Files:
src/sys/arch/sun3/conf: GENERIC

Log Message:
Disable more several pseudo-devices to shrink binary size.

My 3/60 fails to boot from a SCSI disk without this change.
 https://mail-index.netbsd.org/port-sun3/2024/01/13/msg000207.html

Should be pulled up to netbsd-10.


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/sys/arch/sun3/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/sun3/conf/GENERIC
diff -u src/sys/arch/sun3/conf/GENERIC:1.191 src/sys/arch/sun3/conf/GENERIC:1.192
--- src/sys/arch/sun3/conf/GENERIC:1.191	Sat Jan 13 05:31:29 2024
+++ src/sys/arch/sun3/conf/GENERIC	Sat Jan 13 19:31:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.191 2024/01/13 05:31:29 simonb Exp $
+# $NetBSD: GENERIC,v 1.192 2024/01/13 19:31:39 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -25,7 +25,7 @@ include 	"arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.191 $"
+#ident		"GENERIC-$Revision: 1.192 $"
 
 makeoptions	COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer"
 	# Bootloader has size limit (~2MB). -fno-omit-frame-pointer is
@@ -258,7 +258,7 @@ pseudo-device	loop			# network loopback
 pseudo-device	bpfilter		# packet filter
 #pseudo-device	carp			# Common Address Redundancy Protocol
 pseudo-device	sl			# CSLIP
-pseudo-device	ppp			# PPP
+#pseudo-device	ppp			# PPP
 #pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
 #pseudo-device	tun			# network tunneling over tty
 #pseudo-device	tap			# virtual Ethernet
@@ -267,13 +267,13 @@ pseudo-device	ppp			# PPP
 #pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
 #pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
-pseudo-device	vlan			# IEEE 802.1q encapsulation
+#pseudo-device	vlan			# IEEE 802.1q encapsulation
 #pseudo-device	bridge			# simple inter-network bridging
 #pseudo-device	vether			# Virtual Ethernet for bridge
 #pseudo-device	agr			# IEEE 802.3ad link aggregation
 
 pseudo-device	pty			# pseudo-terminals
-pseudo-device	vnd			# paging to files
+#pseudo-device	vnd			# paging to files
 #options 	VND_COMPRESSION		# compressed vnd(4)
 #pseudo-device	ccd			# concatenated disks
 #pseudo-device	cgd			# cryptographic disk devices
@@ -290,7 +290,7 @@ pseudo-device	vnd			# paging to files
 #pseudo-device	fss			# file system snapshot device
 pseudo-device	clockctl		# user control of clock subsystem
 pseudo-device	ksyms			# /dev/ksyms
-pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
+#pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
 
 # Veriexec
 # include "dev/veriexec.config"



CVS commit: src/sys/arch/sun3/conf

2024-01-12 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jan 13 05:31:29 UTC 2024

Modified Files:
src/sys/arch/sun3/conf: GENERIC

Log Message:
Revert mistaken "no obmem0" that I added when enabling UFS_DIRHASH.

Thanks tsutsui@ for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/arch/sun3/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/sun3/conf/GENERIC
diff -u src/sys/arch/sun3/conf/GENERIC:1.190 src/sys/arch/sun3/conf/GENERIC:1.191
--- src/sys/arch/sun3/conf/GENERIC:1.190	Sun Feb 12 14:50:42 2023
+++ src/sys/arch/sun3/conf/GENERIC	Sat Jan 13 05:31:29 2024
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.190 2023/02/12 14:50:42 abs Exp $
+# $NetBSD: GENERIC,v 1.191 2024/01/13 05:31:29 simonb Exp $
 #
 # GENERIC machine description file
 # 
@@ -25,7 +25,7 @@ include 	"arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.190 $"
+#ident		"GENERIC-$Revision: 1.191 $"
 
 makeoptions	COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer"
 	# Bootloader has size limit (~2MB). -fno-omit-frame-pointer is
@@ -295,7 +295,5 @@ pseudo-device 	swwdog			# software watch
 # Veriexec
 # include "dev/veriexec.config"
 
-no obmem0 at mainbus?			# XX
-
 # Pull in optional local configuration - always at end
 cinclude	"arch/sun3/conf/GENERIC.local"



CVS commit: src/sys/arch/sun3/conf

2024-01-12 Thread Simon Burge
Module Name:src
Committed By:   simonb
Date:   Sat Jan 13 05:31:29 UTC 2024

Modified Files:
src/sys/arch/sun3/conf: GENERIC

Log Message:
Revert mistaken "no obmem0" that I added when enabling UFS_DIRHASH.

Thanks tsutsui@ for pointing this out.


To generate a diff of this commit:
cvs rdiff -u -r1.190 -r1.191 src/sys/arch/sun3/conf/GENERIC

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



CVS commit: src/sys/arch/sun3/conf

2022-08-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 17 19:13:05 UTC 2022

Modified Files:
src/sys/arch/sun3/conf: GENERIC3X

Log Message:
Add bwtwo0 config on P4 cgfour overlay plane on 3/80, as 3/60 in bw2.sun3.

Note the ancient Xsun server supports multiple framebuffers with both
cgfour (at DISPLAY :0) and overlay bwtwo (at DISPLAY :0.1).


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/sun3/conf/GENERIC3X

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/sun3/conf/GENERIC3X
diff -u src/sys/arch/sun3/conf/GENERIC3X:1.140 src/sys/arch/sun3/conf/GENERIC3X:1.141
--- src/sys/arch/sun3/conf/GENERIC3X:1.140	Sun Aug  7 02:52:30 2022
+++ src/sys/arch/sun3/conf/GENERIC3X	Wed Aug 17 19:13:05 2022
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.140 2022/08/07 02:52:30 simonb Exp $
+# $NetBSD: GENERIC3X,v 1.141 2022/08/17 19:13:05 tsutsui Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
@@ -7,7 +7,7 @@ include 	"arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC3X-$Revision: 1.140 $"
+#ident		"GENERIC3X-$Revision: 1.141 $"
 
 makeoptions	COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer"
 	# Bootloader has size limit (~2MB). -fno-omit-frame-pointer is
@@ -203,6 +203,11 @@ xd* at xdc? drive ?
 
 # P4 Monochrome frame buffer.
 bwtwo0	at obmem0 addr 0x5030
+# The bw2 driver can also run on a cg4 overlay plane,
+# and the 0x40 flag means "CG overlay plane" mode.
+# The low 4 bits of the flags (if set) are matched
+# against the same bits of the machine type ID code.
+bwtwo0	at obmem0 addr 0x5030 flags 0x42	# 3/80 (P4 cgfour overlay)
 
 # P4 8-bit color frame buffer
 cgfour0 at obmem0 addr 0x5030



CVS commit: src/sys/arch/sun3/conf

2022-08-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Aug 17 19:13:05 UTC 2022

Modified Files:
src/sys/arch/sun3/conf: GENERIC3X

Log Message:
Add bwtwo0 config on P4 cgfour overlay plane on 3/80, as 3/60 in bw2.sun3.

Note the ancient Xsun server supports multiple framebuffers with both
cgfour (at DISPLAY :0) and overlay bwtwo (at DISPLAY :0.1).


To generate a diff of this commit:
cvs rdiff -u -r1.140 -r1.141 src/sys/arch/sun3/conf/GENERIC3X

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



CVS commit: src/sys/arch/sun3/conf

2021-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sun Dec  5 07:02:28 UTC 2021

Modified Files:
src/sys/arch/sun3/conf: FOUR_TTYS

Log Message:
s/ommit/omit/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/sun3/conf/FOUR_TTYS

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/sun3/conf/FOUR_TTYS
diff -u src/sys/arch/sun3/conf/FOUR_TTYS:1.53 src/sys/arch/sun3/conf/FOUR_TTYS:1.54
--- src/sys/arch/sun3/conf/FOUR_TTYS:1.53	Wed Oct 17 19:57:44 2007
+++ src/sys/arch/sun3/conf/FOUR_TTYS	Sun Dec  5 07:02:28 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: FOUR_TTYS,v 1.53 2007/10/17 19:57:44 garbled Exp $
+#	$NetBSD: FOUR_TTYS,v 1.54 2021/12/05 07:02:28 msaitoh Exp $
 
 # FOUR_TTYS Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
 # like GENERIC but both zs chips are used as ttys
@@ -6,7 +6,7 @@
 include "arch/sun3/conf/GENERIC"
 
 #
-# Note that by ommitting "kdb0" and "ms0" one can build
+# Note that by omitting "kdb0" and "ms0" one can build
 # a kernel that operates four plain serial lines, where
 # two of them are data-leads-only ports wired up using
 # a custom cable on the keyboard connector.  The flags 1



CVS commit: src/sys/arch/sun3/conf

2021-12-04 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Sun Dec  5 07:02:28 UTC 2021

Modified Files:
src/sys/arch/sun3/conf: FOUR_TTYS

Log Message:
s/ommit/omit/ in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/sys/arch/sun3/conf/FOUR_TTYS

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