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

2023-02-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 08:27:21 UTC 2023

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

Log Message:
Disable rarely used options and devices, and add options MODULAR instead.

Also enable files-system MSDOS for file exchange via removable media.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/arch/next68k/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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.160 src/sys/arch/next68k/conf/GENERIC:1.161
--- src/sys/arch/next68k/conf/GENERIC:1.160	Sat Feb 11 07:42:25 2023
+++ src/sys/arch/next68k/conf/GENERIC	Sat Feb 11 08:27:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.160 2023/02/11 07:42:25 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.161 2023/02/11 08:27:21 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/next68k/conf/std.next68k"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.160 $"
+#ident 		"GENERIC-$Revision: 1.161 $"
 
 makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
 	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
@@ -37,6 +37,9 @@ options 	SYSVMSG		# System V message que
 options 	SYSVSEM		# System V semaphores
 options 	SYSVSHM		# System V shared memory
 
+options 	MODULAR		# new style module(7) framework
+options 	MODULAR_DEFAULT_AUTOLOAD
+
 options 	INSECURE	# disable kernel security level
 options 	USERCONF	# userconf(4) support
 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
@@ -62,7 +65,7 @@ options 	DDB_HISTORY_SIZE=100	# enable h
 
 # Other debugging options
 #options 	PMAP_DEBUG
-options 	SCSIDEBUG
+#options 	SCSIDEBUG
 options 	SCSIVERBOSE		# Verbose SCSI errors
 
 # Compatibility options
@@ -83,15 +86,15 @@ file-system 	FFS		# UFS
 file-system 	MFS		# memory file system
 file-system 	NFS		# Network File System client
 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
-#file-system 	MSDOSFS		# MS-DOS file system
+file-system 	MSDOSFS		# MS-DOS file system
 file-system 	FDESC		# /dev/fd
 file-system 	KERNFS		# /kern
 file-system 	NULLFS		# loopback file system
-file-system 	OVERLAY		# overlay file system
-file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
+#file-system 	OVERLAY		# overlay file system
+#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
 file-system 	PROCFS		# /proc
-file-system 	UMAPFS		# NULLFS + uid and gid remapping
-file-system 	UNION		# union file system
+#file-system 	UMAPFS		# NULLFS + uid and gid remapping
+#file-system 	UNION		# union file system
 file-system	PTYFS		# /dev/pts/N support
 file-system	TMPFS		# Efficient memory file-system
 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
@@ -197,11 +200,11 @@ scsibus* at scsi?
 sd*	at scsibus? target ? lun ?	# SCSI disk drives
 st*	at scsibus? target ? lun ?	# SCSI tape drives
 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
-ch*	at scsibus? target ? lun ?	# SCSI autochangers
+#ch*	at scsibus? target ? lun ?	# SCSI autochangers
 dse*	at scsibus? target ? lun ?	# SCSI ethernet (Dayna)
 se*	at scsibus? target ? lun ?	# SCSI ethernet
-ss*	at scsibus? target ? lun ?	# SCSI scanners
-uk*	at scsibus? target ? lun ?	# SCSI unknown
+#ss*	at scsibus? target ? lun ?	# SCSI scanners
+#uk*	at scsibus? target ? lun ?	# SCSI unknown
 
 
 # Memory-disk drivers
@@ -209,27 +212,27 @@ pseudo-device	md
 
 #
 # accept filters
-pseudo-device   accf_data		# "dataready" accept filter
-pseudo-device   accf_http		# "httpready" accept filter
+#pseudo-device   accf_data		# "dataready" accept filter
+#pseudo-device   accf_http		# "httpready" accept filter
 
 # Misc.
 pseudo-device	loop			# network loopback
 pseudo-device	bpfilter		# packet filter
-pseudo-device	carp			# Common Address Redundancy Protocol
+#pseudo-device	carp			# Common Address Redundancy Protocol
 pseudo-device	sl			# CSLIP
 pseudo-device	ppp			# PPP
 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
-pseudo-device	tun			# network tunneling over tty
-pseudo-device	tap			# virtual Ethernet
+#pseudo-device	tun			# network tunneling over tty
+#pseudo-device	tap			# virtual Ethernet
 #pseudo-device	gre			# generic L3 over IP tunnel
-pseudo-device	npf			# NPF packet filter
+#pseudo-device	npf			# NPF packet filter
 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	bridge			# simple inter-network bridging
-pseudo-device	vether			# Virtual Ethernet for bridge
-pseudo-device	agr			# IEEE 802.3ad link aggregation
+#pseudo-device	vlan			# IEEE 802.1q encapsulation
+#pseudo-device	bridge			# simple inter-network bridging
+#pseudo-

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

2023-02-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 08:27:21 UTC 2023

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

Log Message:
Disable rarely used options and devices, and add options MODULAR instead.

Also enable files-system MSDOS for file exchange via removable media.


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/arch/next68k/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/next68k/conf

2023-02-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 07:42:25 UTC 2023

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

Log Message:
Remove unnecessary commented out lines.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/sys/arch/next68k/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/next68k/conf

2023-02-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 07:42:25 UTC 2023

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

Log Message:
Remove unnecessary commented out lines.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 src/sys/arch/next68k/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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.159 src/sys/arch/next68k/conf/GENERIC:1.160
--- src/sys/arch/next68k/conf/GENERIC:1.159	Sat Feb 11 07:32:44 2023
+++ src/sys/arch/next68k/conf/GENERIC	Sat Feb 11 07:42:25 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.159 2023/02/11 07:32:44 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.160 2023/02/11 07:42:25 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/next68k/conf/std.next68k"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.159 $"
+#ident 		"GENERIC-$Revision: 1.160 $"
 
 makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
 	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
@@ -35,10 +35,6 @@ maxusers	16
 options 	KTRACE		# system call tracing
 options 	SYSVMSG		# System V message queues
 options 	SYSVSEM		# System V semaphores
-#options 	SEMMNI=10	# number of semaphore identifiers
-#options 	SEMMNS=60	# number of semaphores in system
-#options 	SEMUME=10	# max number of undo entries per process
-#options 	SEMMNU=30	# number of undo structures in system
 options 	SYSVSHM		# System V shared memory
 
 options 	INSECURE	# disable kernel security level
@@ -170,8 +166,6 @@ config		netbsd root on ? type ?
 # The root node:
 mainbus0 at root
 
-#fpu0 at mainbus?
-
 # device space
 intio0	at mainbus?
 
@@ -185,7 +179,6 @@ wskbd*		at nextkbd? console ?
 nextdma*	at intio? ipl 6
 
 zsc0	at intio? ipl 5
-#zsc1	at intio? ipl 5
 
 xe*	at intio? ipl 3			# ethernet
 



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

2023-02-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 07:32:44 UTC 2023

Modified Files:
src/sys/arch/next68k/conf: GENERIC SLAB

Log Message:
Remove nonexistent options SWAPDEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/arch/next68k/conf/GENERIC
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/next68k/conf/SLAB

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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.158 src/sys/arch/next68k/conf/GENERIC:1.159
--- src/sys/arch/next68k/conf/GENERIC:1.158	Sat Feb 11 07:12:34 2023
+++ src/sys/arch/next68k/conf/GENERIC	Sat Feb 11 07:32:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.158 2023/02/11 07:12:34 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.159 2023/02/11 07:32:44 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/next68k/conf/std.next68k"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.158 $"
+#ident 		"GENERIC-$Revision: 1.159 $"
 
 makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
 	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
@@ -68,7 +68,6 @@ options 	DDB_HISTORY_SIZE=100	# enable h
 #options 	PMAP_DEBUG
 options 	SCSIDEBUG
 options 	SCSIVERBOSE		# Verbose SCSI errors
-options 	SWAPDEBUG
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"

Index: src/sys/arch/next68k/conf/SLAB
diff -u src/sys/arch/next68k/conf/SLAB:1.62 src/sys/arch/next68k/conf/SLAB:1.63
--- src/sys/arch/next68k/conf/SLAB:1.62	Fri Feb  3 23:07:47 2023
+++ src/sys/arch/next68k/conf/SLAB	Sat Feb 11 07:32:44 2023
@@ -1,4 +1,4 @@
-# $NetBSD: SLAB,v 1.62 2023/02/03 23:07:47 tsutsui Exp $
+# $NetBSD: SLAB,v 1.63 2023/02/11 07:32:44 tsutsui Exp $
 #
 # deberg's development machine
 #
@@ -40,7 +40,6 @@ makeoptions	DEBUG="-g"		# debugging symb
 #options 	PMAP_DEBUG
 options 	SCSIDEBUG
 options 	SCSIVERBOSE		# Verbose SCSI errors
-options 	SWAPDEBUG
 
 # Compatibility options
 include 	"conf/compat_netbsd14.config"



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

2023-02-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 07:32:44 UTC 2023

Modified Files:
src/sys/arch/next68k/conf: GENERIC SLAB

Log Message:
Remove nonexistent options SWAPDEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/arch/next68k/conf/GENERIC
cvs rdiff -u -r1.62 -r1.63 src/sys/arch/next68k/conf/SLAB

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



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

2023-02-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 07:12:34 UTC 2023

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

Log Message:
Enable file-system CD9660.

It's useful for installation especially on emulators.


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/arch/next68k/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/next68k/conf

2023-02-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Feb 11 07:12:34 UTC 2023

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

Log Message:
Enable file-system CD9660.

It's useful for installation especially on emulators.


To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 src/sys/arch/next68k/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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.157 src/sys/arch/next68k/conf/GENERIC:1.158
--- src/sys/arch/next68k/conf/GENERIC:1.157	Sat Feb  4 14:38:09 2023
+++ src/sys/arch/next68k/conf/GENERIC	Sat Feb 11 07:12:34 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.157 2023/02/04 14:38:09 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.158 2023/02/11 07:12:34 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/next68k/conf/std.next68k"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.157 $"
+#ident 		"GENERIC-$Revision: 1.158 $"
 
 makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
 	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
@@ -87,7 +87,7 @@ file-system 	FFS		# UFS
 #file-system 	LFS		# log-structured file system
 file-system 	MFS		# memory file system
 file-system 	NFS		# Network File System client
-#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
+file-system 	CD9660		# ISO 9660 + Rock Ridge file system
 #file-system 	MSDOSFS		# MS-DOS file system
 file-system 	FDESC		# /dev/fd
 file-system 	KERNFS		# /kern



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

2023-02-03 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Feb  3 23:07:47 UTC 2023

Modified Files:
src/sys/arch/next68k/conf: GENERIC SLAB

Log Message:
Remove trailing TABs.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/arch/next68k/conf/GENERIC
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/next68k/conf/SLAB

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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.155 src/sys/arch/next68k/conf/GENERIC:1.156
--- src/sys/arch/next68k/conf/GENERIC:1.155	Fri Jan 27 15:36:58 2023
+++ src/sys/arch/next68k/conf/GENERIC	Fri Feb  3 23:07:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.155 2023/01/27 15:36:58 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.156 2023/02/03 23:07:47 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@ include 	"arch/next68k/conf/std.next68k"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.155 $"
+#ident 		"GENERIC-$Revision: 1.156 $"
 
 makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
 	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
@@ -213,7 +213,7 @@ uk*	at scsibus? target ? lun ?	# SCSI un
 
 
 # Memory-disk drivers
-pseudo-device	md		
+pseudo-device	md
 
 #
 # accept filters

Index: src/sys/arch/next68k/conf/SLAB
diff -u src/sys/arch/next68k/conf/SLAB:1.61 src/sys/arch/next68k/conf/SLAB:1.62
--- src/sys/arch/next68k/conf/SLAB:1.61	Thu Dec 22 11:05:55 2022
+++ src/sys/arch/next68k/conf/SLAB	Fri Feb  3 23:07:47 2023
@@ -1,4 +1,4 @@
-# $NetBSD: SLAB,v 1.61 2022/12/22 11:05:55 nat Exp $
+# $NetBSD: SLAB,v 1.62 2023/02/03 23:07:47 tsutsui Exp $
 #
 # deberg's development machine
 #
@@ -165,7 +165,7 @@ scsibus* at scsi?
 
 
 # Memory-disk drivers
-pseudo-device	md		
+pseudo-device	md
 
 # Misc.
 pseudo-device	loop			# network loopback



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

2023-02-03 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Feb  3 23:07:47 UTC 2023

Modified Files:
src/sys/arch/next68k/conf: GENERIC SLAB

Log Message:
Remove trailing TABs.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/arch/next68k/conf/GENERIC
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/next68k/conf/SLAB

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



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

2023-01-27 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jan 27 15:36:58 UTC 2023

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

Log Message:
next68k:  Specify -fno-unwind-tables to shrink kernel binary size.

next68k bootloader cannot load a kernel larger than ~3.8 MB.


To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 src/sys/arch/next68k/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/next68k/conf

2023-01-27 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jan 27 15:36:58 UTC 2023

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

Log Message:
next68k:  Specify -fno-unwind-tables to shrink kernel binary size.

next68k bootloader cannot load a kernel larger than ~3.8 MB.


To generate a diff of this commit:
cvs rdiff -u -r1.154 -r1.155 src/sys/arch/next68k/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/next68k/conf/GENERIC
diff -u src/sys/arch/next68k/conf/GENERIC:1.154 src/sys/arch/next68k/conf/GENERIC:1.155
--- src/sys/arch/next68k/conf/GENERIC:1.154	Thu Dec 22 11:05:55 2022
+++ src/sys/arch/next68k/conf/GENERIC	Fri Jan 27 15:36:58 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.154 2022/12/22 11:05:55 nat Exp $
+# $NetBSD: GENERIC,v 1.155 2023/01/27 15:36:58 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,9 +22,9 @@ include 	"arch/next68k/conf/std.next68k"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.154 $"
+#ident 		"GENERIC-$Revision: 1.155 $"
 
-makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer"
+makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
 	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
 	# backtraces in DDB.