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

2020-09-09 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Thu Sep 10 02:06:25 UTC 2020

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

Log Message:
Build in debug symbols.


To generate a diff of this commit:
cvs rdiff -u -r1.184 -r1.185 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.184 src/sys/arch/sun3/conf/GENERIC:1.185
--- src/sys/arch/sun3/conf/GENERIC:1.184	Mon Aug 10 06:32:58 2020
+++ src/sys/arch/sun3/conf/GENERIC	Thu Sep 10 02:06:25 2020
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.184 2020/08/10 06:32:58 rin Exp $
+# $NetBSD: GENERIC,v 1.185 2020/09/10 02:06:25 rin 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.184 $"
+#ident		"GENERIC-$Revision: 1.185 $"
 
 makeoptions	COPTS="-Os -fno-unwind-tables -fno-omit-frame-pointer"
 	# Bootloader has size limit (~2MB). -fno-omit-frame-pointer is
@@ -60,7 +60,7 @@ options 	PIPE_SOCKETPAIR	# smaller, but 
 # Which kernel debugger?  Uncomment either this:
 options 	DDB
 # ... or these for KGDB (gdb remote target)
-#makeoptions	DEBUG="-g"	# debugging symbols for gdb
+makeoptions	DEBUG="-g"	# debugging symbols for gdb
 #options 	KGDB
 #options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
 



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

2020-09-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Sep  7 07:07:32 UTC 2020

Modified Files:
src/sys/arch/sun3/conf: Makefile.sun3

Log Message:
don't error array-bounds and packed-member issues with GCC 9.


To generate a diff of this commit:
cvs rdiff -u -r1.109 -r1.110 src/sys/arch/sun3/conf/Makefile.sun3

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/Makefile.sun3
diff -u src/sys/arch/sun3/conf/Makefile.sun3:1.109 src/sys/arch/sun3/conf/Makefile.sun3:1.110
--- src/sys/arch/sun3/conf/Makefile.sun3:1.109	Sat Sep 22 12:24:03 2018
+++ src/sys/arch/sun3/conf/Makefile.sun3	Mon Sep  7 07:07:32 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun3,v 1.109 2018/09/22 12:24:03 rin Exp $
+# $NetBSD: Makefile.sun3,v 1.110 2020/09/07 07:07:32 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -35,6 +35,7 @@ CPPFLAGS+=	-Dsun3
 CFLAGS+=	${CMACHFLAGS} -fno-defer-pop
 CFLAGS+=	-msoft-float
 AFLAGS+=	-x assembler-with-cpp
+COPTS.sunmon.c+=${GCC_NO_ADDR_OF_PACKED_MEMBER} ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=array-bounds :}
 
 ##
 ## (3) libkern and compat



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

2020-06-19 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Jun 19 10:35:11 UTC 2020

Modified Files:
src/sys/arch/sun3/conf: DISKLESS DISKLESS3X GENERIC GENERIC3X INSTALL
INSTALL3X RAMDISK RAMDISK3X

Log Message:
Use "-fno-unwind-tables" to shrink binaries more.

sun3 GENERIC -Os
   textdata bss dec hex filename
1762862   75292   93032 1931186  1d77b2 netbsd

sun3 GENERIC -Os -fno-unwind-tables
   textdata bss dec hex filename
1545726   75292   93032 1714050  1a2782 netbsd

GENERIC is tested on TME.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/sun3/conf/DISKLESS
cvs rdiff -u -r1.60 -r1.61 src/sys/arch/sun3/conf/DISKLESS3X \
src/sys/arch/sun3/conf/INSTALL3X
cvs rdiff -u -r1.181 -r1.182 src/sys/arch/sun3/conf/GENERIC
cvs rdiff -u -r1.134 -r1.135 src/sys/arch/sun3/conf/GENERIC3X
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/sun3/conf/INSTALL
cvs rdiff -u -r1.55 -r1.56 src/sys/arch/sun3/conf/RAMDISK
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/sun3/conf/RAMDISK3X

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/DISKLESS
diff -u src/sys/arch/sun3/conf/DISKLESS:1.76 src/sys/arch/sun3/conf/DISKLESS:1.77
--- src/sys/arch/sun3/conf/DISKLESS:1.76	Wed Dec 19 13:57:50 2018
+++ src/sys/arch/sun3/conf/DISKLESS	Fri Jun 19 10:35:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS,v 1.76 2018/12/19 13:57:50 maxv Exp $
+# $NetBSD: DISKLESS,v 1.77 2020/06/19 10:35:11 tsutsui Exp $
 
 # DISKLESS - Root and swap on NFS
 # Desktop machines only (3/50, 3/60, 3/110)
@@ -9,7 +9,7 @@ include "arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 options 	FPU_EMULATE

Index: src/sys/arch/sun3/conf/DISKLESS3X
diff -u src/sys/arch/sun3/conf/DISKLESS3X:1.60 src/sys/arch/sun3/conf/DISKLESS3X:1.61
--- src/sys/arch/sun3/conf/DISKLESS3X:1.60	Wed Aug  1 20:04:14 2018
+++ src/sys/arch/sun3/conf/DISKLESS3X	Fri Jun 19 10:35:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS3X,v 1.60 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: DISKLESS3X,v 1.61 2020/06/19 10:35:11 tsutsui Exp $
 
 # DISKLESS - Root and swap on NFS
 # Desktop machines only (3/80)
@@ -9,7 +9,7 @@ include "arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"	# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 # options 	FPU_EMULATE	# XXX - Ever needed?
Index: src/sys/arch/sun3/conf/INSTALL3X
diff -u src/sys/arch/sun3/conf/INSTALL3X:1.60 src/sys/arch/sun3/conf/INSTALL3X:1.61
--- src/sys/arch/sun3/conf/INSTALL3X:1.60	Wed Aug  1 20:04:14 2018
+++ src/sys/arch/sun3/conf/INSTALL3X	Fri Jun 19 10:35:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL3X,v 1.60 2018/08/01 20:04:14 maxv Exp $
+# $NetBSD: INSTALL3X,v 1.61 2020/06/19 10:35:11 tsutsui Exp $
 #
 # INSTALL3X - Installation kernel for the Sun3X
 #
@@ -11,7 +11,7 @@ include "arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-makeoptions	COPTS="-Os"	# Optimise for space. Implies -O2
+makeoptions	COPTS="-Os -fno-unwind-tables"	# Optimise for space. Implies -O2
 
 # Machines to be supported by this kernel
 # options 	FPU_EMULATE	# XXX - Ever needed?

Index: src/sys/arch/sun3/conf/GENERIC
diff -u src/sys/arch/sun3/conf/GENERIC:1.181 src/sys/arch/sun3/conf/GENERIC:1.182
--- src/sys/arch/sun3/conf/GENERIC:1.181	Fri Apr 26 22:46:04 2019
+++ src/sys/arch/sun3/conf/GENERIC	Fri Jun 19 10:35:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.181 2019/04/26 22:46:04 sevan Exp $
+# $NetBSD: GENERIC,v 1.182 2020/06/19 10:35:11 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -25,9 +25,9 @@ include 	"arch/sun3/conf/std.sun3"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.181 $"
+#ident		"GENERIC-$Revision: 1.182 $"
 
-makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
+makeoptions	COPTS="-Os -fno-unwind-tables"	# bootloader has size limit (~2MB)
 
 # Machines to be supported by this kernel
 options 	FPU_EMULATE

Index: src/sys/arch/sun3/conf/GENERIC3X
diff -u src/sys/arch/sun3/conf/GENERIC3X:1.134 src/sys/arch/sun3/conf/GENERIC3X:1.135
--- src/sys/arch/sun3/conf/GENERIC3X:1.134	Fri Apr 26 22:46:04 2019
+++ src/sys/arch/sun3/conf/GENERIC3X	Fri Jun 19 10:35:11 2020
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.134 2019/04/26 22:46:04 sevan Exp $
+# $NetBSD: GENERIC3X,v 1.135 2020/06/19 10:35:11 tsutsui Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
@@ -7,9 +7,9 @@ include 	"arch/sun3/conf/std.sun3x"
 
 #options 	INCLUDE_CONFIG_FILE	# 

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

2018-03-07 Thread Maya Rashish
Module Name:src
Committed By:   maya
Date:   Wed Mar  7 15:02:36 UTC 2018

Modified Files:
src/sys/arch/sun3/conf: Makefile.sun3

Log Message:
Build compat code as .a if not MODULAR.

Removes some more unused functions.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/sys/arch/sun3/conf/Makefile.sun3

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/Makefile.sun3
diff -u src/sys/arch/sun3/conf/Makefile.sun3:1.106 src/sys/arch/sun3/conf/Makefile.sun3:1.107
--- src/sys/arch/sun3/conf/Makefile.sun3:1.106	Sat Mar  3 03:19:36 2018
+++ src/sys/arch/sun3/conf/Makefile.sun3	Wed Mar  7 15:02:36 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun3,v 1.106 2018/03/03 03:19:36 mrg Exp $
+# $NetBSD: Makefile.sun3,v 1.107 2018/03/07 15:02:36 maya Exp $
 
 # Makefile for NetBSD
 #
@@ -41,9 +41,11 @@ AFLAGS+=	-x assembler-with-cpp
 ##
 OPT_MODULAR=   %MODULAR%
 .if !empty(OPT_MODULAR)
-KERN_AS=   obj
+KERN_AS=	obj
+COMPAT_AS=	obj
 .else
-KERN_AS=   library
+KERN_AS=	library
+COMPAT_AS=	library
 .endif
 
 ##



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

2018-03-07 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Mar  7 09:44:22 UTC 2018

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

Log Message:
also disable SYSCTL_INCLUDE_DESCR.
copy sun3 disables to sun3x mostly.  it has the same ufsboot 2MB limit.


To generate a diff of this commit:
cvs rdiff -u -r1.177 -r1.178 src/sys/arch/sun3/conf/GENERIC
cvs rdiff -u -r1.130 -r1.131 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/GENERIC
diff -u src/sys/arch/sun3/conf/GENERIC:1.177 src/sys/arch/sun3/conf/GENERIC:1.178
--- src/sys/arch/sun3/conf/GENERIC:1.177	Sat Mar  3 03:19:36 2018
+++ src/sys/arch/sun3/conf/GENERIC	Wed Mar  7 09:44:22 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.177 2018/03/03 03:19:36 mrg Exp $
+# $NetBSD: GENERIC,v 1.178 2018/03/07 09:44:22 mrg 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.177 $"
+#ident		"GENERIC-$Revision: 1.178 $"
 
 makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
 
@@ -48,7 +48,7 @@ options 	SYSVSHM		# System V shared memo
 #options 	INSECURE	# disable kernel security level
 #options 	USERCONF	# userconf(4) support
 options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
-options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
+#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
 # Alternate buffer queue strategies for better responsiveness under high
 # disk I/O load.

Index: src/sys/arch/sun3/conf/GENERIC3X
diff -u src/sys/arch/sun3/conf/GENERIC3X:1.130 src/sys/arch/sun3/conf/GENERIC3X:1.131
--- src/sys/arch/sun3/conf/GENERIC3X:1.130	Tue Jan 23 14:47:56 2018
+++ src/sys/arch/sun3/conf/GENERIC3X	Wed Mar  7 09:44:22 2018
@@ -1,13 +1,13 @@
-# $NetBSD: GENERIC3X,v 1.130 2018/01/23 14:47:56 sevan Exp $
+# $NetBSD: GENERIC3X,v 1.131 2018/03/07 09:44:22 mrg Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
 
 include 	"arch/sun3/conf/std.sun3x"
 
-options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
+#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC3X-$Revision: 1.130 $"
+#ident		"GENERIC3X-$Revision: 1.131 $"
 
 makeoptions	COPTS="-Os"	# bootloader has size limit (~2MB)
 
@@ -29,8 +29,8 @@ options 	SYSVSHM		# System V shared memo
 
 #options 	INSECURE	# disable kernel security level
 #options 	USERCONF	# userconf(4) support
-#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
-options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
+options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
+#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
 
 # Alternate buffer queue strategies for better responsiveness under high
 # disk I/O load.
@@ -53,11 +53,13 @@ options 	DDB
 #options 	SCSIVERBOSE		# Verbose SCSI errors
 
 # Compatibility options
-include 	"conf/compat_netbsd10.config"
-options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
+# Originally in NetBSD 1.0, but limited to 6.0 for size.
+#include 	"conf/compat_netbsd10.config"
+include 	"conf/compat_netbsd60.config"
+#options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
 #options 	COMPAT_LINUX	# can run Linux/m68k executables
-options 	EXEC_AOUT	# support for a.out executables
-options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
+#options 	EXEC_AOUT	# support for a.out executables
+#options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
 #options 	COMPAT_SVR4	# can run SVR4 executables
 
 # Filesystem options
@@ -65,28 +67,29 @@ file-system	FFS		# Berkeley Fast Filesys
 file-system	NFS		# Sun NFS client support
 file-system	CD9660		# ISO 9660 + Rock Ridge file system
 file-system	MSDOSFS		# MS-DOS FAT file system
-file-system	FDESC		# /dev/fd/*
-file-system	KERNFS		# /kern
+#file-system	FDESC		# /dev/fd/*
+#file-system	KERNFS		# /kern
 file-system	NULLFS		# loopback file system
 #file-system	OVERLAY		# overlay file system
 file-system	PROCFS		# /proc
 #file-system	UNION		# union file system
 file-system	MFS		# memory-based filesystem
 file-system	PTYFS		# /dev/pts/N support
-file-system	TMPFS		# Efficient memory file-system
+# Disabled as 20KB larger than MFS.
+#file-system	TMPFS		# Efficient memory file-system
 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
 
-options 	NFSSERVER	# nfs server support
+#options 	NFSSERVER	# nfs server support
 #options 	QUOTA		# legacy UFS quotas
 #options 	QUOTA2		# new, in-filesystem UFS quotas
 #options 	FFS_EI		# FFS Endian Independent support
-options 	WAPBL		# File system journaling support
+#options 	WAPBL		# File system journaling support
 #options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
 options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 
 # Networ

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

2014-06-25 Thread David Brownlee
Module Name:src
Committed By:   abs
Date:   Wed Jun 25 16:14:43 UTC 2014

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

Log Message:
Enable ie0 in DISKLESS for sun3/110


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/sys/arch/sun3/conf/DISKLESS

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/DISKLESS
diff -u src/sys/arch/sun3/conf/DISKLESS:1.68 src/sys/arch/sun3/conf/DISKLESS:1.69
--- src/sys/arch/sun3/conf/DISKLESS:1.68	Wed Jun  4 20:21:24 2014
+++ src/sys/arch/sun3/conf/DISKLESS	Wed Jun 25 16:14:43 2014
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS,v 1.68 2014/06/04 20:21:24 abs Exp $
+# $NetBSD: DISKLESS,v 1.69 2014/06/25 16:14:43 abs Exp $
 
 # DISKLESS - Root and swap on NFS
 # Desktop machines only (3/50, 3/60, 3/110)
@@ -127,7 +127,7 @@ ms0	at zsc0 channel 1	# mouse
 #
 
 # Intel Ethernet (onboard, or VME)
-#ie0 at obio0 addr 0x0C ipl 3
+ie0 at obio0 addr 0x0C ipl 3
 #ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
 
 # Lance Ethernet (only onboard)



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

2014-06-04 Thread David Brownlee
Module Name:src
Committed By:   abs
Date:   Wed Jun  4 20:21:24 UTC 2014

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

Log Message:
Sync (commented out) some of the network and filesystem related
blocks from GENERIC. Only functional change is to comment out tun
in DISKLESS to match GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/sun3/conf/DISKLESS

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/DISKLESS
diff -u src/sys/arch/sun3/conf/DISKLESS:1.67 src/sys/arch/sun3/conf/DISKLESS:1.68
--- src/sys/arch/sun3/conf/DISKLESS:1.67	Sun Jun 30 21:38:59 2013
+++ src/sys/arch/sun3/conf/DISKLESS	Wed Jun  4 20:21:24 2014
@@ -1,4 +1,4 @@
-# $NetBSD: DISKLESS,v 1.67 2013/06/30 21:38:59 rmind Exp $
+# $NetBSD: DISKLESS,v 1.68 2014/06/04 20:21:24 abs Exp $
 
 # DISKLESS - Root and swap on NFS
 # Desktop machines only (3/50, 3/60, 3/110)
@@ -41,9 +41,12 @@ options 	USERCONF	# userconf(4) support
 #options 	DIAGNOSTIC	# extra kernel sanity checking
 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
 #options 	PMAP_DEBUG
+#options 	SCSIDEBUG
+#options 	SCSIVERBOSE		# Verbose SCSI errors
 
 # Compatibility options
 #options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
+#options 	COMPAT_SVR4	# can run SVR4 executables
 #options 	COMPAT_43	# and 4.3BSD and ...
 #options 	COMPAT_10	# NetBSD 1.0
 #options 	COMPAT_11	# NetBSD 1.1
@@ -57,7 +60,9 @@ options 	COMPAT_30	# NetBSD 3.0
 options 	COMPAT_40	# NetBSD 4.0
 options 	COMPAT_50	# NetBSD 5.0 compatibility.
 options 	COMPAT_60	# NetBSD 6.0 compatibility.
+#options 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
 #options 	COMPAT_LINUX	# can run Linux/m68k executables
+#options 	EXEC_AOUT	# support for a.out executables
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
 
@@ -68,18 +73,27 @@ file-system	NFS		# Sun NFS client suppor
 #file-system	FDESC		# /dev/fd/*
 #file-system	KERNFS		# /kern
 #file-system	NULLFS		# loopback file system
+#file-system	OVERLAY		# overlay file system
 #file-system	PROCFS		# /proc
 #file-system	UNION		# union file system
 #file-system	MFS		# memory-based filesystem
 #file-system	PTYFS		# /dev/pts/N support
+#file-system	TMPFS		# Efficient memory file-system
+#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
 
 #options 	NFSSERVER	# nfs server support
 #options 	QUOTA		# legacy UFS quotas
 #options 	QUOTA2		# new, in-filesystem UFS quotas
 #options 	FFS_EI		# FFS Endian Independent support
+#options 	WAPBL		# File system journaling support
+#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
+#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
 
 # Networking options
 options 	INET		# IP protocol stack support
+#options 	INET6		# IPV6
+#options 	IPSEC		# IP security
+#options 	IPSEC_DEBUG	# debug for IP security
 #options 	GATEWAY		# IP packet forwarding
 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
 
@@ -145,11 +159,21 @@ include "arch/sun3/conf/cg4.sun3"
 # Misc.
 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	tun			# network tunneling over tty
+#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
+#pseudo-device	tun			# network tunneling over tty
+#pseudo-device	tap			# virtual Ethernet
 #pseudo-device	gre			# generic L3 over IP tunnel
 #pseudo-device	ipfilter		# ip 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
+#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
+#pseudo-device	agr			# IEEE 802.3ad link aggregation
 
 pseudo-device	pty			# pseudo-terminals
 pseudo-device	clockctl		# user control of clock subsystem



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

2012-05-05 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Sat May  5 13:47:07 UTC 2012

Modified Files:
src/sys/arch/sun3/conf: files.sun3

Log Message:
make sure opt_sunkbd.h exists


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/sun3/conf/files.sun3

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/files.sun3
diff -u src/sys/arch/sun3/conf/files.sun3:1.80 src/sys/arch/sun3/conf/files.sun3:1.81
--- src/sys/arch/sun3/conf/files.sun3:1.80	Tue Nov 15 12:23:22 2011
+++ src/sys/arch/sun3/conf/files.sun3	Sat May  5 13:47:07 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: files.sun3,v 1.80 2011/11/15 12:23:22 tsutsui Exp $
+#	$NetBSD: files.sun3,v 1.81 2012/05/05 13:47:07 macallan Exp $
 
 #
 # sun3-specific configuration info
@@ -235,6 +235,7 @@ file dev/sun/kbdsun.c			kbd_zs
 file dev/sun/kbd.c			kbd needs-flag
 file dev/sun/kbd_tables.c 		kbd
 file arch/sun3/dev/kd.c 		kbd
+defflag opt_sunkbd.h			KBD_HIJACK_VOLUME_BUTTONS
 
 device ms: zsevent
 attach ms at zsc with ms_zs



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

2011-07-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jul  9 15:04:06 UTC 2011

Modified Files:
src/sys/arch/sun3/conf: Makefile.sun3

Log Message:
fix previous and use a correct make construct


To generate a diff of this commit:
cvs rdiff -u -r1.102 -r1.103 src/sys/arch/sun3/conf/Makefile.sun3

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/Makefile.sun3
diff -u src/sys/arch/sun3/conf/Makefile.sun3:1.102 src/sys/arch/sun3/conf/Makefile.sun3:1.103
--- src/sys/arch/sun3/conf/Makefile.sun3:1.102	Fri Jul  8 09:34:51 2011
+++ src/sys/arch/sun3/conf/Makefile.sun3	Sat Jul  9 15:04:06 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun3,v 1.102 2011/07/08 09:34:51 mrg Exp $
+# $NetBSD: Makefile.sun3,v 1.103 2011/07/09 15:04:06 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -33,7 +33,7 @@
 ##
 CPPFLAGS+=	-Dsun3
 CFLAGS+=	${CMACHFLAGS} -fno-defer-pop
-.if defined(HAVE_GCC) ${HAVE_GCC} == 45
+.if defined(HAVE_GCC) && ${HAVE_GCC} != 45
 CFLAGS+=	-msoft-float
 .endif
 AFLAGS+=	-x assembler-with-cpp



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

2011-07-08 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Jul  8 09:34:51 UTC 2011

Modified Files:
src/sys/arch/sun3/conf: Makefile.sun3

Log Message:
don't use -msoft-float for GCC 4.5.  -msoft-float passes down -mno-float
to the assembler, which barfs, and i can't see any way to disable it just
for sun3/fpu.c.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/arch/sun3/conf/Makefile.sun3

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/Makefile.sun3
diff -u src/sys/arch/sun3/conf/Makefile.sun3:1.101 src/sys/arch/sun3/conf/Makefile.sun3:1.102
--- src/sys/arch/sun3/conf/Makefile.sun3:1.101	Fri Jan 21 15:59:09 2011
+++ src/sys/arch/sun3/conf/Makefile.sun3	Fri Jul  8 09:34:51 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.sun3,v 1.101 2011/01/21 15:59:09 joerg Exp $
+# $NetBSD: Makefile.sun3,v 1.102 2011/07/08 09:34:51 mrg Exp $
 
 # Makefile for NetBSD
 #
@@ -32,7 +32,10 @@
 ## (2) compile settings
 ##
 CPPFLAGS+=	-Dsun3
-CFLAGS+=	${CMACHFLAGS} -msoft-float -fno-defer-pop
+CFLAGS+=	${CMACHFLAGS} -fno-defer-pop
+.if defined(HAVE_GCC) ${HAVE_GCC} == 45
+CFLAGS+=	-msoft-float
+.endif
 AFLAGS+=	-x assembler-with-cpp
 
 ##



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

2010-10-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Oct 16 13:55:54 UTC 2010

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

Log Message:
Add commented out options MODULAR.


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/sun3/conf/GENERIC
cvs rdiff -u -r1.107 -r1.108 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/GENERIC
diff -u src/sys/arch/sun3/conf/GENERIC:1.151 src/sys/arch/sun3/conf/GENERIC:1.152
--- src/sys/arch/sun3/conf/GENERIC:1.151	Wed Jul  7 01:24:52 2010
+++ src/sys/arch/sun3/conf/GENERIC	Sat Oct 16 13:55:54 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.151 2010/07/07 01:24:52 chs Exp $
+# $NetBSD: GENERIC,v 1.152 2010/10/16 13:55:54 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -25,7 +25,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.151 $"
+#ident		"GENERIC-$Revision: 1.152 $"
 
 makeoptions	COPTS="-Os"		# bootloader has size limit (~2MB)
 
@@ -42,6 +42,9 @@
 options 	SYSVSEM		# System V semaphores
 options 	SYSVSHM		# System V shared memory
 options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
+
+#options 	MODULAR		# new style module framework
+
 #options 	INSECURE	# disable kernel security level
 #options 	USERCONF	# userconf(4) support
 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

Index: src/sys/arch/sun3/conf/GENERIC3X
diff -u src/sys/arch/sun3/conf/GENERIC3X:1.107 src/sys/arch/sun3/conf/GENERIC3X:1.108
--- src/sys/arch/sun3/conf/GENERIC3X:1.107	Thu Apr 29 22:40:54 2010
+++ src/sys/arch/sun3/conf/GENERIC3X	Sat Oct 16 13:55:54 2010
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC3X,v 1.107 2010/04/29 22:40:54 chs Exp $
+# $NetBSD: GENERIC3X,v 1.108 2010/10/16 13:55:54 tsutsui Exp $
 
 # GENERIC Sun3X (3/80, 3/470)
 # Supports root on: ie0, le0, sd*, ...
@@ -7,7 +7,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC3X-$Revision: 1.107 $"
+#ident		"GENERIC3X-$Revision: 1.108 $"
 
 makeoptions	COPTS="-Os"	# bootloader has size limit (~2MB)
 
@@ -24,6 +24,9 @@
 options 	SYSVSEM		# System V semaphores
 options 	SYSVSHM		# System V shared memory
 options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
+
+#options 	MODULAR		# new style module framework
+
 #options 	INSECURE	# disable kernel security level
 #options 	USERCONF	# userconf(4) support
 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)