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

2024-05-13 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon May 13 21:50:47 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
also exclude DRM_LEGACY from the ISA kernel


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/LEGACY

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/i386/conf/LEGACY
diff -u src/sys/arch/i386/conf/LEGACY:1.3 src/sys/arch/i386/conf/LEGACY:1.4
--- src/sys/arch/i386/conf/LEGACY:1.3	Sun Apr 28 08:12:44 2024
+++ src/sys/arch/i386/conf/LEGACY	Mon May 13 21:50:47 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: LEGACY,v 1.3 2024/04/28 08:12:44 nia Exp $
+#	$NetBSD: LEGACY,v 1.4 2024/05/13 21:50:47 nia Exp $
 
 # LEGACY kernel -- includes vga@isa and pcdisplay@isa for pre-PCI
 # systems, due to significant pain making them fail to attach when
@@ -24,3 +24,5 @@ no radeondrmkmsfb*	at radeonfbbus?  
 
 no nouveau*		at pci?
 no nouveaufb*		at nouveaufbbus?
+
+no options		DRM_LEGACY



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

2024-05-13 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Mon May 13 21:50:47 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
also exclude DRM_LEGACY from the ISA kernel


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/LEGACY

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



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

2024-04-28 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 28 08:12:44 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386: disable DRMKMS drivers in LEGACY kernel (this is for ISA)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/LEGACY

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



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

2024-04-28 Thread Nia Alarie
Module Name:src
Committed By:   nia
Date:   Sun Apr 28 08:12:44 UTC 2024

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386: disable DRMKMS drivers in LEGACY kernel (this is for ISA)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/LEGACY

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/i386/conf/LEGACY
diff -u src/sys/arch/i386/conf/LEGACY:1.2 src/sys/arch/i386/conf/LEGACY:1.3
--- src/sys/arch/i386/conf/LEGACY:1.2	Mon Jul 17 21:12:29 2023
+++ src/sys/arch/i386/conf/LEGACY	Sun Apr 28 08:12:44 2024
@@ -1,4 +1,4 @@
-#	$NetBSD: LEGACY,v 1.2 2023/07/17 21:12:29 riastradh Exp $
+#	$NetBSD: LEGACY,v 1.3 2024/04/28 08:12:44 nia Exp $
 
 # LEGACY kernel -- includes vga@isa and pcdisplay@isa for pre-PCI
 # systems, due to significant pain making them fail to attach when
@@ -15,3 +15,12 @@ options 	ATA_DOWNGRADE_MODE
 
 # XXX we could turn off all sorts of other modern features in this
 # configuration, but that is left for future work.
+
+no i915drmkms*		at pci?
+no intelfb*		at intelfbbus?  
+
+no radeon*		at pci?
+no radeondrmkmsfb*	at radeonfbbus?
+
+no nouveau*		at pci?
+no nouveaufb*		at nouveaufbbus?



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

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:18 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/conf/XEN3PAE_DOMU

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



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

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:03 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/i386/conf/XEN3PAE_DOM0

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



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

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:03 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/i386/conf/XEN3PAE_DOM0

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/i386/conf/XEN3PAE_DOM0
diff -u src/sys/arch/i386/conf/XEN3PAE_DOM0:1.38 src/sys/arch/i386/conf/XEN3PAE_DOM0:1.39
--- src/sys/arch/i386/conf/XEN3PAE_DOM0:1.38	Fri Jul 21 02:08:45 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOM0	Sat Jul 22 15:19:03 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3PAE_DOM0,v 1.38 2023/07/21 02:08:45 riastradh Exp $
+#	$NetBSD: XEN3PAE_DOM0,v 1.39 2023/07/22 15:19:03 riastradh Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -74,7 +74,7 @@ options 	DDB_ONPANIC=1	# see also sysctl
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="show registers"
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 



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

2023-07-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 22 15:19:18 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Pass -g to build debug data like GENERIC.

Needed for CTF data by dtrace when MKDEBUG=no MKDEBUGKERNEL=no.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/i386/conf/XEN3PAE_DOMU

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/i386/conf/XEN3PAE_DOMU
diff -u src/sys/arch/i386/conf/XEN3PAE_DOMU:1.20 src/sys/arch/i386/conf/XEN3PAE_DOMU:1.21
--- src/sys/arch/i386/conf/XEN3PAE_DOMU:1.20	Fri Jul 21 02:10:37 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOMU	Sat Jul 22 15:19:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3PAE_DOMU,v 1.20 2023/07/21 02:10:37 riastradh Exp $
+# $NetBSD: XEN3PAE_DOMU,v 1.21 2023/07/22 15:19:17 riastradh Exp $
 
 include 	"arch/i386/conf/std.xen"
 
@@ -58,7 +58,7 @@ options 	DDB_ONPANIC=1	# see also sysctl
 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
-#makeoptions	DEBUG="-g"	# compile full symbol table
+makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="trace;show registers"
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 



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

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:10:37 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/conf/XEN3PAE_DOMU

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/i386/conf/XEN3PAE_DOMU
diff -u src/sys/arch/i386/conf/XEN3PAE_DOMU:1.19 src/sys/arch/i386/conf/XEN3PAE_DOMU:1.20
--- src/sys/arch/i386/conf/XEN3PAE_DOMU:1.19	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOMU	Fri Jul 21 02:10:37 2023
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3PAE_DOMU,v 1.19 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: XEN3PAE_DOMU,v 1.20 2023/07/21 02:10:37 riastradh Exp $
 
 include 	"arch/i386/conf/std.xen"
 
@@ -60,6 +60,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
 #makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="trace;show registers"
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



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

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:10:37 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOMU

Log Message:
i386/XEN3PAE_DOMU: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/conf/XEN3PAE_DOMU

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



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

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:08:45 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/XEN3PAE_DOM0

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/i386/conf/XEN3PAE_DOM0
diff -u src/sys/arch/i386/conf/XEN3PAE_DOM0:1.37 src/sys/arch/i386/conf/XEN3PAE_DOM0:1.38
--- src/sys/arch/i386/conf/XEN3PAE_DOM0:1.37	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/XEN3PAE_DOM0	Fri Jul 21 02:08:45 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3PAE_DOM0,v 1.37 2023/02/09 14:09:48 abs Exp $
+#	$NetBSD: XEN3PAE_DOM0,v 1.38 2023/07/21 02:08:45 riastradh Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -76,6 +76,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
 #makeoptions	DEBUG="-g"	# compile full symbol table
 options DDB_COMMANDONENTER="show registers"
+options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



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

2023-07-20 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Fri Jul 21 02:08:45 UTC 2023

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0

Log Message:
i386/XEN3PAE_DOM0: Enable KDTRACE_HOOKS.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/XEN3PAE_DOM0

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



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

2023-07-17 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 17 21:12:29 UTC 2023

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386/LEGACY: Enable ATA_DOWNGRADE_MODE.

PR kern/57362


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/conf/LEGACY

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/i386/conf/LEGACY
diff -u src/sys/arch/i386/conf/LEGACY:1.1 src/sys/arch/i386/conf/LEGACY:1.2
--- src/sys/arch/i386/conf/LEGACY:1.1	Sat Mar  7 07:28:37 2015
+++ src/sys/arch/i386/conf/LEGACY	Mon Jul 17 21:12:29 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: LEGACY,v 1.1 2015/03/07 07:28:37 mrg Exp $
+#	$NetBSD: LEGACY,v 1.2 2023/07/17 21:12:29 riastradh Exp $
 
 # LEGACY kernel -- includes vga@isa and pcdisplay@isa for pre-PCI
 # systems, due to significant pain making them fail to attach when
@@ -10,5 +10,8 @@ vga0		at isa?
 pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
 wsdisplay*	at pcdisplay? console ?
 
+# Enable DMA -> PIO downgrade after a certain number of DMA errors.
+options 	ATA_DOWNGRADE_MODE
+
 # XXX we could turn off all sorts of other modern features in this
 # configuration, but that is left for future work.



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

2023-07-17 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Jul 17 21:12:29 UTC 2023

Modified Files:
src/sys/arch/i386/conf: LEGACY

Log Message:
i386/LEGACY: Enable ATA_DOWNGRADE_MODE.

PR kern/57362


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/conf/LEGACY

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



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

2023-07-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 16 10:20:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
i386: Re-enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.509 -r1.510 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1249 -r1.1250 src/sys/arch/i386/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/i386/conf

2023-07-16 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sun Jul 16 10:20:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
i386: Re-enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.509 -r1.510 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1249 -r1.1250 src/sys/arch/i386/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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.509 src/sys/arch/i386/conf/ALL:1.510
--- src/sys/arch/i386/conf/ALL:1.509	Sun Jul 16 05:24:08 2023
+++ src/sys/arch/i386/conf/ALL	Sun Jul 16 10:20:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.509 2023/07/16 05:24:08 mrg Exp $
+# $NetBSD: ALL,v 1.510 2023/07/16 10:20:07 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.509 $"
+#ident		"ALL-$Revision: 1.510 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,6 +131,10 @@ options 	BIOHIST		# kernhist for buff I/
 makeoptions	KCOV=1
 options		KCOV
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1249 src/sys/arch/i386/conf/GENERIC:1.1250
--- src/sys/arch/i386/conf/GENERIC:1.1249	Sun Jul 16 05:24:08 2023
+++ src/sys/arch/i386/conf/GENERIC	Sun Jul 16 10:20:07 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1249 2023/07/16 05:24:08 mrg Exp $
+# $NetBSD: GENERIC,v 1.1250 2023/07/16 10:20:07 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1249 $"
+#ident		"GENERIC-$Revision: 1.1250 $"
 
 maxusers	64		# estimated number of users
 
@@ -140,6 +140,10 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 #makeoptions	KCOV=1
 #options 	KCOV
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID



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

2023-07-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 16 05:24:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
revert previous change to enable HEARTBEAT.

the new code has a "needs 64-bit atomic ops" trigger:

ci->ci_heartbeat_uptime_cache = atomic_load_relaxed(_uptime);

but time_uptime is a 64-bit value, and this trips CTASSERT().


To generate a diff of this commit:
cvs rdiff -u -r1.508 -r1.509 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1248 -r1.1249 src/sys/arch/i386/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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.508 src/sys/arch/i386/conf/ALL:1.509
--- src/sys/arch/i386/conf/ALL:1.508	Sat Jul 15 22:13:27 2023
+++ src/sys/arch/i386/conf/ALL	Sun Jul 16 05:24:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.508 2023/07/15 22:13:27 riastradh Exp $
+# $NetBSD: ALL,v 1.509 2023/07/16 05:24:08 mrg Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.508 $"
+#ident		"ALL-$Revision: 1.509 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,10 +131,6 @@ options 	BIOHIST		# kernhist for buff I/
 makeoptions	KCOV=1
 options		KCOV
 
-# Heartbeat checks
-options 	HEARTBEAT
-options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
-
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1248 src/sys/arch/i386/conf/GENERIC:1.1249
--- src/sys/arch/i386/conf/GENERIC:1.1248	Sat Jul 15 22:14:39 2023
+++ src/sys/arch/i386/conf/GENERIC	Sun Jul 16 05:24:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1248 2023/07/15 22:14:39 riastradh Exp $
+# $NetBSD: GENERIC,v 1.1249 2023/07/16 05:24:08 mrg Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1248 $"
+#ident		"GENERIC-$Revision: 1.1249 $"
 
 maxusers	64		# estimated number of users
 
@@ -140,10 +140,6 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 #makeoptions	KCOV=1
 #options 	KCOV
 
-# Heartbeat checks
-options 	HEARTBEAT
-options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
-
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID



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

2023-07-15 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sun Jul 16 05:24:08 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
revert previous change to enable HEARTBEAT.

the new code has a "needs 64-bit atomic ops" trigger:

ci->ci_heartbeat_uptime_cache = atomic_load_relaxed(_uptime);

but time_uptime is a 64-bit value, and this trips CTASSERT().


To generate a diff of this commit:
cvs rdiff -u -r1.508 -r1.509 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1248 -r1.1249 src/sys/arch/i386/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/i386/conf

2023-07-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 15 22:13:27 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.507 -r1.508 src/sys/arch/i386/conf/ALL

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



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

2023-07-15 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Sat Jul 15 22:13:27 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable HEARTBEAT.


To generate a diff of this commit:
cvs rdiff -u -r1.507 -r1.508 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.507 src/sys/arch/i386/conf/ALL:1.508
--- src/sys/arch/i386/conf/ALL:1.507	Mon May 22 16:28:25 2023
+++ src/sys/arch/i386/conf/ALL	Sat Jul 15 22:13:27 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.507 2023/05/22 16:28:25 riastradh Exp $
+# $NetBSD: ALL,v 1.508 2023/07/15 22:13:27 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.507 $"
+#ident		"ALL-$Revision: 1.508 $"
 
 maxusers	64		# estimated number of users
 
@@ -131,6 +131,10 @@ options 	BIOHIST		# kernhist for buff I/
 makeoptions	KCOV=1
 options		KCOV
 
+# Heartbeat checks
+options 	HEARTBEAT
+options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI



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

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:34 UTC 2023

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

Log Message:
i386/GENERIC: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.1246 -r1.1247 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1246 src/sys/arch/i386/conf/GENERIC:1.1247
--- src/sys/arch/i386/conf/GENERIC:1.1246	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/GENERIC	Mon May 22 16:28:34 2023
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1246 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: GENERIC,v 1.1247 2023/05/22 16:28:34 riastradh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1246 $"
+#ident		"GENERIC-$Revision: 1.1247 $"
 
 maxusers	64		# estimated number of users
 
@@ -1504,9 +1504,9 @@ pseudo-device	cmos
 # userland interface to drivers, including autoconf and properties retrieval
 pseudo-device	drvctl
 
-# EFI runtime support -- not yet tested
-#options 	EFI_RUNTIME
-#pseudo-device 	efi			# /dev/efi
+# EFI runtime support
+options 	EFI_RUNTIME
+pseudo-device 	efi			# /dev/efi
 
 include "dev/veriexec.config"
 



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

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:34 UTC 2023

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

Log Message:
i386/GENERIC: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


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

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:25 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.506 -r1.507 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.506 src/sys/arch/i386/conf/ALL:1.507
--- src/sys/arch/i386/conf/ALL:1.506	Thu Feb  9 14:09:48 2023
+++ src/sys/arch/i386/conf/ALL	Mon May 22 16:28:25 2023
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.506 2023/02/09 14:09:48 abs Exp $
+# $NetBSD: ALL,v 1.507 2023/05/22 16:28:25 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.506 $"
+#ident		"ALL-$Revision: 1.507 $"
 
 maxusers	64		# estimated number of users
 
@@ -1810,9 +1810,9 @@ pseudo-device	pad
 # userland interface to drivers, including autoconf and properties retrieval
 pseudo-device	drvctl
 
-# EFI runtime support -- doesn't build yet
-#options 	EFI_RUNTIME
-#pseudo-device 	efi			# /dev/efi
+# EFI runtime support
+options 	EFI_RUNTIME
+pseudo-device 	efi			# /dev/efi
 
 # Pass-to-Userspace Transporter
 pseudo-device	putter



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

2023-05-22 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon May 22 16:28:25 UTC 2023

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
i386/ALL: Enable EFI runtime support.

PR kern/57076

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.506 -r1.507 src/sys/arch/i386/conf/ALL

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



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

2022-12-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Dec 22 19:07:17 UTC 2022

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

Log Message:
Add commented vio9p* to match amd64 GENERIC


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

2022-12-22 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Thu Dec 22 19:07:17 UTC 2022

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

Log Message:
Add commented vio9p* to match amd64 GENERIC


To generate a diff of this commit:
cvs rdiff -u -r1.1243 -r1.1244 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1243 src/sys/arch/i386/conf/GENERIC:1.1244
--- src/sys/arch/i386/conf/GENERIC:1.1243	Sun Dec 11 04:20:52 2022
+++ src/sys/arch/i386/conf/GENERIC	Thu Dec 22 19:07:16 2022
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1243 2022/12/11 04:20:52 tsutsui Exp $
+# $NetBSD: GENERIC,v 1.1244 2022/12/22 19:07:16 jakllsch Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1243 $"
+#ident		"GENERIC-$Revision: 1.1244 $"
 
 maxusers	64		# estimated number of users
 
@@ -1406,6 +1406,7 @@ ld* at virtio?# Virtio disk device
 vioif* at virtio?			# Virtio network device
 viornd* at virtio?			# Virtio entropy device
 vioscsi* at virtio?			# Virtio SCSI device
+#vio9p*	at virtio?			# Virtio 9P device
 
 # Hyper-V devices
 vmbus*		at acpi?		# Hyper-V VMBus



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

2022-12-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Dec 11 04:20:52 UTC 2022

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

Log Message:
Enable options DISKLABEL_EI by default as amd64.

No particular comment no port-i386@:
 https://mail-index.netbsd.org/port-i386/2022/12/02/msg004063.html


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

2022-12-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Dec 11 04:20:52 UTC 2022

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

Log Message:
Enable options DISKLABEL_EI by default as amd64.

No particular comment no port-i386@:
 https://mail-index.netbsd.org/port-i386/2022/12/02/msg004063.html


To generate a diff of this commit:
cvs rdiff -u -r1.1242 -r1.1243 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1242 src/sys/arch/i386/conf/GENERIC:1.1243
--- src/sys/arch/i386/conf/GENERIC:1.1242	Thu Sep 29 10:10:07 2022
+++ src/sys/arch/i386/conf/GENERIC	Sun Dec 11 04:20:52 2022
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1242 2022/09/29 10:10:07 riastradh Exp $
+# $NetBSD: GENERIC,v 1.1243 2022/12/11 04:20:52 tsutsui Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1242 $"
+#ident		"GENERIC-$Revision: 1.1243 $"
 
 maxusers	64		# estimated number of users
 
@@ -166,7 +166,7 @@ options 	WAPBL		# File system journaling
 options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
 # immutable) behave as system flags.
-#options 	DISKLABEL_EI	# disklabel Endian Independent support
+options 	DISKLABEL_EI	# disklabel Endian Independent support
 options 	NFSSERVER	# Network File System server
 #options 	V7FS_EI		# V7FS Endian Independent support
 



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

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri May  1 14:15:41 UTC 2020

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove wd* at umass?, it was dropped.


To generate a diff of this commit:
cvs rdiff -u -r1.490 -r1.491 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.490 src/sys/arch/i386/conf/ALL:1.491
--- src/sys/arch/i386/conf/ALL:1.490	Wed Mar 25 17:06:19 2020
+++ src/sys/arch/i386/conf/ALL	Fri May  1 14:15:41 2020
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.490 2020/03/25 17:06:19 jdolecek Exp $
+# $NetBSD: ALL,v 1.491 2020/05/01 14:15:41 hannken Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.490 $"
+#ident		"ALL-$Revision: 1.491 $"
 
 maxusers	64		# estimated number of users
 
@@ -1302,7 +1302,6 @@ uhso*	at uhub? port ? configuration ?
 
 # USB Mass Storage
 umass*	at uhub? port ? configuration ? interface ?
-wd*	at umass?
 
 # USB audio
 uaudio* at uhub? port ? configuration ?



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

2020-05-01 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri May  1 14:15:41 UTC 2020

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove wd* at umass?, it was dropped.


To generate a diff of this commit:
cvs rdiff -u -r1.490 -r1.491 src/sys/arch/i386/conf/ALL

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



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

2020-04-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Apr 10 20:56:56 UTC 2020

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0 XEN3PAE_DOMU

Log Message:
remove commented out __XEN_INTERFACE_VERSION__ option, it comes via std.xen


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/i386/conf/XEN3PAE_DOMU

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



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

2020-04-10 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Fri Apr 10 20:56:56 UTC 2020

Modified Files:
src/sys/arch/i386/conf: XEN3PAE_DOM0 XEN3PAE_DOMU

Log Message:
remove commented out __XEN_INTERFACE_VERSION__ option, it comes via std.xen


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/i386/conf/XEN3PAE_DOMU

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/i386/conf/XEN3PAE_DOM0
diff -u src/sys/arch/i386/conf/XEN3PAE_DOM0:1.22 src/sys/arch/i386/conf/XEN3PAE_DOM0:1.23
--- src/sys/arch/i386/conf/XEN3PAE_DOM0:1.22	Thu Apr  9 14:39:10 2020
+++ src/sys/arch/i386/conf/XEN3PAE_DOM0	Fri Apr 10 20:56:56 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3PAE_DOM0,v 1.22 2020/04/09 14:39:10 jdolecek Exp $
+#	$NetBSD: XEN3PAE_DOM0,v 1.23 2020/04/10 20:56:56 jdolecek Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -18,7 +18,6 @@ maxusers	32		# estimated number of users
 #
 options 	XEN
 options 	PAE
-#options 	__XEN_INTERFACE_VERSION__=0x00030205 # Xen 3.1 interface
 
 # boot messages with MPBIOS, acpi and ioapic can be quite large
 options 	MSGBUFSIZE=24576

Index: src/sys/arch/i386/conf/XEN3PAE_DOMU
diff -u src/sys/arch/i386/conf/XEN3PAE_DOMU:1.9 src/sys/arch/i386/conf/XEN3PAE_DOMU:1.10
--- src/sys/arch/i386/conf/XEN3PAE_DOMU:1.9	Thu Apr  9 14:39:10 2020
+++ src/sys/arch/i386/conf/XEN3PAE_DOMU	Fri Apr 10 20:56:56 2020
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3PAE_DOMU,v 1.9 2020/04/09 14:39:10 jdolecek Exp $
+# $NetBSD: XEN3PAE_DOMU,v 1.10 2020/04/10 20:56:56 jdolecek Exp $
 
 include 	"arch/i386/conf/std.xen"
 
@@ -150,7 +150,6 @@ options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARA
 #options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
 #options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
 
-#options 	__XEN_INTERFACE_VERSION__=0x00030205 # Xen 3.1 interface
 options 	MAXPHYS=32768	#xbd doesn't handle 64k transfers
 
 config		netbsd	root on ? type ?



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

2019-08-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  8 04:25:21 UTC 2019

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

Log Message:
 Use +


To generate a diff of this commit:
cvs rdiff -u -r1.1208 -r1.1209 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1208 src/sys/arch/i386/conf/GENERIC:1.1209
--- src/sys/arch/i386/conf/GENERIC:1.1208	Mon Jun 17 19:01:17 2019
+++ src/sys/arch/i386/conf/GENERIC	Thu Aug  8 04:25:21 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1208 2019/06/17 19:01:17 kamil Exp $
+# $NetBSD: GENERIC,v 1.1209 2019/08/08 04:25:21 msaitoh Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1208 $"
+#ident		"GENERIC-$Revision: 1.1209 $"
 
 maxusers	64		# estimated number of users
 
@@ -120,8 +120,8 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 #makeoptions	DEBUG="-g"	# compile full symbol table
-#options	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
-#options	UBSAN_ALWAYS_FATAL	# (optional) Panic on all kUBSan reports
+#options 	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
+#options 	UBSAN_ALWAYS_FATAL	# (optional) Panic on all kUBSan reports
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
@@ -129,7 +129,7 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 
 # Kernel Code Coverage Driver.
 #makeoptions	KCOV=1
-#options	KCOV
+#options 	KCOV
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



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

2019-08-07 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Thu Aug  8 04:25:21 UTC 2019

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

Log Message:
 Use +


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

2019-03-15 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Mar 16 04:31:25 UTC 2019

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove duplicated option.


To generate a diff of this commit:
cvs rdiff -u -r1.464 -r1.465 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.464 src/sys/arch/i386/conf/ALL:1.465
--- src/sys/arch/i386/conf/ALL:1.464	Sun Feb 24 20:56:27 2019
+++ src/sys/arch/i386/conf/ALL	Sat Mar 16 04:31:25 2019
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.464 2019/02/24 20:56:27 kamil Exp $
+# $NetBSD: ALL,v 1.465 2019/03/16 04:31:25 isaki Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.464 $"
+#ident		"ALL-$Revision: 1.465 $"
 
 maxusers	64		# estimated number of users
 
@@ -110,7 +110,6 @@ options 	BUFQ_PRIOCSCAN
 # Diagnostic/debugging support options
 options 	DIAGNOSTIC	# inexpensive kernel consistency checks
 options 	DEBUG		# expensive debugging checks/support
-options		KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
 options 	LOCKDEBUG	# expensive locking checks/support
 options 	DDB		# in-kernel debugger
 options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'



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

2019-03-15 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Mar 16 04:31:25 UTC 2019

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Remove duplicated option.


To generate a diff of this commit:
cvs rdiff -u -r1.464 -r1.465 src/sys/arch/i386/conf/ALL

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



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

2019-03-01 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Fri Mar  1 12:23:10 UTC 2019

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

Log Message:
commented out hvkvp entry.


To generate a diff of this commit:
cvs rdiff -u -r1.1203 -r1.1204 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1203 src/sys/arch/i386/conf/GENERIC:1.1204
--- src/sys/arch/i386/conf/GENERIC:1.1203	Fri Mar  1 08:17:51 2019
+++ src/sys/arch/i386/conf/GENERIC	Fri Mar  1 12:23:10 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1203 2019/03/01 08:17:51 nonaka Exp $
+# $NetBSD: GENERIC,v 1.1204 2019/03/01 12:23:10 nonaka Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1203 $"
+#ident		"GENERIC-$Revision: 1.1204 $"
 
 maxusers	64		# estimated number of users
 
@@ -1433,7 +1433,7 @@ hvs*		at vmbus?		# Hyper-V StorVSC
 hvheartbeat*	at vmbus?		# Hyper-V Heartbeat Service
 hvshutdown*	at vmbus?		# Hyper-V Guest Shutdown Service
 hvtimesync*	at vmbus?		# Hyper-V Time Synchronization Service
-hvkvp*		at vmbus?		# Hyper-V Data Exchange Service
+#hvkvp*		at vmbus?		# Hyper-V Data Exchange Service
 
 
 # Pull in optional local configuration



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

2019-03-01 Thread NONAKA Kimihiro
Module Name:src
Committed By:   nonaka
Date:   Fri Mar  1 12:23:10 UTC 2019

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

Log Message:
commented out hvkvp entry.


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

2019-02-24 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Feb 24 20:56:28 UTC 2019

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Enable kUBSan and KCOV in NetBSD/i386 kernel=ALL


To generate a diff of this commit:
cvs rdiff -u -r1.463 -r1.464 src/sys/arch/i386/conf/ALL

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



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

2019-02-24 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sun Feb 24 20:56:28 UTC 2019

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Enable kUBSan and KCOV in NetBSD/i386 kernel=ALL


To generate a diff of this commit:
cvs rdiff -u -r1.463 -r1.464 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.463 src/sys/arch/i386/conf/ALL:1.464
--- src/sys/arch/i386/conf/ALL:1.463	Wed Feb  6 11:58:31 2019
+++ src/sys/arch/i386/conf/ALL	Sun Feb 24 20:56:27 2019
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.463 2019/02/06 11:58:31 rin Exp $
+# $NetBSD: ALL,v 1.464 2019/02/24 20:56:27 kamil Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.463 $"
+#ident		"ALL-$Revision: 1.464 $"
 
 maxusers	64		# estimated number of users
 
@@ -110,6 +110,7 @@ options 	BUFQ_PRIOCSCAN
 # Diagnostic/debugging support options
 options 	DIAGNOSTIC	# inexpensive kernel consistency checks
 options 	DEBUG		# expensive debugging checks/support
+options		KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
 options 	LOCKDEBUG	# expensive locking checks/support
 options 	DDB		# in-kernel debugger
 options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
@@ -118,6 +119,7 @@ options 	DDB_VERBOSE_HELP
 options 	KGDB		# remote debugger
 options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 makeoptions	DEBUG="-g"	# compile full symbol table
+options		KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
 options 	SYSCALL_STATS	# per syscall counts
 options 	SYSCALL_TIMES	# per syscall times
 options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
@@ -125,6 +127,10 @@ options 	KDTRACE_HOOKS	# kernel DTrace h
 options 	UVMHIST		# kernhist for uvm subsystem
 options 	BIOHIST		# kernhist for buff I/O
 
+# Kernel Code Coverage Driver.
+makeoptions	KCOV=1
+options		KCOV
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI



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

2019-02-23 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Feb 23 12:28:22 UTC 2019

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

Log Message:
Register kUBSan and KCOV in kernel=GENERIC of NetBSD/i386

Both options are disabled by default.


To generate a diff of this commit:
cvs rdiff -u -r1.1201 -r1.1202 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1201 src/sys/arch/i386/conf/GENERIC:1.1202
--- src/sys/arch/i386/conf/GENERIC:1.1201	Fri Feb 15 08:54:01 2019
+++ src/sys/arch/i386/conf/GENERIC	Sat Feb 23 12:28:22 2019
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1201 2019/02/15 08:54:01 nonaka Exp $
+# $NetBSD: GENERIC,v 1.1202 2019/02/23 12:28:22 kamil Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1201 $"
+#ident		"GENERIC-$Revision: 1.1202 $"
 
 maxusers	64		# estimated number of users
 
@@ -120,11 +120,16 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 #makeoptions	DEBUG="-g"	# compile full symbol table
+#options	KUBSAN		# Kernel Undefined Behavior Sanitizer (kUBSan)
 #options 	SYSCALL_STATS	# per syscall counts
 #options 	SYSCALL_TIMES	# per syscall times
 #options 	SYSCALL_TIMES_HASCOUNTER	# use 'broken' rdtsc (soekris)
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
+# Kernel Code Coverage Driver.
+#makeoptions	KCOV=1
+#options	KCOV
+
 # Compatibility options
 include 	"conf/compat_netbsd09.config"
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID



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

2019-02-23 Thread Kamil Rytarowski
Module Name:src
Committed By:   kamil
Date:   Sat Feb 23 12:28:22 UTC 2019

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

Log Message:
Register kUBSan and KCOV in kernel=GENERIC of NetBSD/i386

Both options are disabled by default.


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

2018-12-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec  3 00:11:39 UTC 2018

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

Log Message:
KASLR is in files.kern


To generate a diff of this commit:
cvs rdiff -u -r1.396 -r1.397 src/sys/arch/i386/conf/files.i386

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/i386/conf/files.i386
diff -u src/sys/arch/i386/conf/files.i386:1.396 src/sys/arch/i386/conf/files.i386:1.397
--- src/sys/arch/i386/conf/files.i386:1.396	Sat Aug 25 03:48:56 2018
+++ src/sys/arch/i386/conf/files.i386	Sun Dec  2 19:11:39 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: files.i386,v 1.396 2018/08/25 07:48:56 maxv Exp $
+#	$NetBSD: files.i386,v 1.397 2018/12/03 00:11:39 christos Exp $
 #
 # new style config file for i386 architecture
 #
@@ -18,8 +18,6 @@ defparam		CPURESET_DELAY
 # Obsolete Xbox support
 obsolete defflag	XBOX
 
-defflag			KASLR
-
 # User-settable LDT (used by WINE)
 defflag			USER_LDT
 



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

2018-12-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec  3 00:11:39 UTC 2018

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

Log Message:
KASLR is in files.kern


To generate a diff of this commit:
cvs rdiff -u -r1.396 -r1.397 src/sys/arch/i386/conf/files.i386

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



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

2018-11-01 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Nov  1 13:11:11 UTC 2018

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

Log Message:
Add bwfm at pci


To generate a diff of this commit:
cvs rdiff -u -r1.1192 -r1.1193 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1192 src/sys/arch/i386/conf/GENERIC:1.1193
--- src/sys/arch/i386/conf/GENERIC:1.1192	Thu Sep  6 05:36:50 2018
+++ src/sys/arch/i386/conf/GENERIC	Thu Nov  1 13:11:11 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1192 2018/09/06 05:36:50 maxv Exp $
+# $NetBSD: GENERIC,v 1.1193 2018/11/01 13:11:11 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1192 $"
+#ident		"GENERIC-$Revision: 1.1193 $"
 
 maxusers	64		# estimated number of users
 
@@ -975,6 +975,7 @@ bce*	at pci? dev ? function ?	# Broadcom
 bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
 bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
 bwi*	at pci? dev ? function ?	# Broadcom BCM43xx wireless
+bwfm*	at pci? dev ? function ?	# Broadcom FullMAC
 dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
 ep*	at pci? dev ? function ?	# 3Com 3c59x
 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet



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

2018-11-01 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Nov  1 13:11:11 UTC 2018

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

Log Message:
Add bwfm at pci


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

2018-08-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 27 16:29:18 UTC 2018

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add amdgpu to i386/ALL.


To generate a diff of this commit:
cvs rdiff -u -r1.449 -r1.450 src/sys/arch/i386/conf/ALL

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



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

2018-08-27 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 27 16:29:18 UTC 2018

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add amdgpu to i386/ALL.


To generate a diff of this commit:
cvs rdiff -u -r1.449 -r1.450 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.449 src/sys/arch/i386/conf/ALL:1.450
--- src/sys/arch/i386/conf/ALL:1.449	Sat Aug 25 20:52:41 2018
+++ src/sys/arch/i386/conf/ALL	Mon Aug 27 16:29:18 2018
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.449 2018/08/25 20:52:41 rin Exp $
+# $NetBSD: ALL,v 1.450 2018/08/27 16:29:18 riastradh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.449 $"
+#ident		"ALL-$Revision: 1.450 $"
 
 maxusers	64		# estimated number of users
 
@@ -600,6 +600,9 @@ intelfb*	at intelfbbus?
 radeon* 	at pci? dev ? function ?
 radeondrmkmsfb* at radeonfbbus?
 
+amdgpu* 	at pci? dev ? function ?
+amdgpufb* 	at amdgpufbbus?
+
 nouveau*	at pci? dev ? function ?
 nouveaufb*	at nouveaufbbus?
 



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

2018-08-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 13 18:48:53 UTC 2018

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

Log Message:
use dev/usb/usbdevices.config instead of a local list.
adds slurm(4), umcs(4), uark(4), and usmsc(4).


To generate a diff of this commit:
cvs rdiff -u -r1.1187 -r1.1188 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1187 src/sys/arch/i386/conf/GENERIC:1.1188
--- src/sys/arch/i386/conf/GENERIC:1.1187	Sun Aug 12 17:59:21 2018
+++ src/sys/arch/i386/conf/GENERIC	Mon Aug 13 18:48:53 2018
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1187 2018/08/12 17:59:21 sevan Exp $
+# $NetBSD: GENERIC,v 1.1188 2018/08/13 18:48:53 mrg Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1187 $"
+#ident		"GENERIC-$Revision: 1.1188 $"
 
 maxusers	64		# estimated number of users
 
@@ -1179,183 +1179,7 @@ usb*	at ohci?
 usb*	at slhci?
 usb*	at uhci?
 
-# USB Hubs
-uhub*	at usb?
-uhub*	at uhub? port ?
-
-# USB HID device
-uhidev* at uhub? port ? configuration ? interface ?
-
-# USB Mice
-ums*	at uhidev? reportid ?
-wsmouse* at ums? mux 0
-
-# USB generic touchscreen
-uts*	at uhidev? reportid ?
-wsmouse* at uts? mux 0
-
-# USB eGalax touch-panel
-uep*	at uhub? port ?
-wsmouse* at uep? mux 0
-
-# USB Keyboards
-ukbd*	at uhidev? reportid ?
-wskbd*	at ukbd? console ? mux 1
-
-# USB TEMPer and TEMPerHUM
-uthum*	at uhidev? reportid ?
-
-# USB serial adapter
-ucycom* at uhidev? reportid ?
-
-# USB Generic HID devices
-uhid*	at uhidev? reportid ?
-
-# USB LCDs and USB-VGA adaptors
-udl*	at uhub? port ?		# DisplayLink DL-1x0/1x5
-wsdisplay* at udl?
-
-# USB Printer
-ulpt*	at uhub? port ? configuration ? interface ?
-
-# USB Modem
-umodem* at uhub? port ? configuration ?
-ucom*	at umodem?
-
-# Option N.V. Wireless WAN modems
-uhso*	at uhub? port ? configuration ?
-
-# USB Mass Storage
-umass*	at uhub? port ? configuration ? interface ?
-wd*	at umass?
-
-# USB audio
-uaudio* at uhub? port ? configuration ?
-uaudio* at usbifif?
-
-# USB MIDI
-umidi*	at uhub? port ? configuration ?
-
-# USB IrDA
-# USB-IrDA bridge spec
-uirda*	at uhub? port ? configuration ? interface ?
-irframe* at uirda?
-
-stuirda* at uhub? port ? configuration ? interface ?
-irframe* at stuirda?
-
-# SigmaTel STIr4200 USB/IrDA Bridge
-ustir*	at uhub? port ?
-irframe* at ustir?
-
-# KingSun/DonShine USB/IrDA Bridge
-udsir*	at uhub? port ?
-irframe* at udsir?
-
-# Windows Media Center IR transceiver
-irmce*	at uhub? port ?
-cir*	at irmce?
-
-# USB Ethernet adapters
-aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
-axe*	at uhub? port ?		# ASIX AX88172 based adapters
-axen*	at uhub? port ?		# ASIX AX88178a/AX88179 based adapters
-cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
-cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
-kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
-udav*	at uhub? port ?		# Davicom DM9601 based adapters
-#umb*	at uhub? port ?		# Mobile Broadband Interface Model (EXPERIMENTAL)
-url*	at uhub? port ?		# Realtek RTL8150L based adapters
-urndis*	at uhub? port ?		# Microsoft RNDIS specification
-
-# USB 802.11 adapters
-athn*	at uhub? port ?		# Atheros AR9002U
-atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
-bwfm*	at uhub? port ?		# Broadcom FullMAC
-otus*	at uhub? port ?		# Atheros AR9001U
-rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
-run*	at uhub? port ?		# Ralink Technology RT(2[78]|30)00 802.11a/b/g/n
-upgt*	at uhub? port ?		# Intersil PrismGT
-ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
-urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
-urtwn*	at uhub? port ?		# Realtek RTL8188CU/RTL8192CU 802.11b/g/n
-zyd*	at uhub? port ?		# Zydas ZD1211
-
-# Prolific PL2301/PL2302 host-to-host adapter
-upl*	at uhub? port ?
-
-# Serial adapters
-ubsa*	at uhub? port ?		# Belkin serial adapter
-ucom*	at ubsa? portno ?
-
-uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
-ucom*	at uchcom? portno ?
-
-uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
-ucom*	at uftdi? portno ?
-
-uipaq*	at uhub? port ?		# iPAQ PDAs
-ucom*	at uipaq? portno ?
-
-umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
-ucom*	at umct? portno ?
-
-uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
-ucom*	at uplcom? portno ?
-
-uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
-ucom*	at uslsa? portno ?
-
-uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
-ucom*	at uvscom? portno ?
-
-# RIM BlackBerry
-uberry* at uhub? port ?
-
-# Apple iPad
-uipad* at uhub? port ?
-
-# Diamond Multimedia Rio 500
-urio*	at uhub? port ?
-
-# USB Handspring 

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

2018-08-13 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 13 18:48:53 UTC 2018

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

Log Message:
use dev/usb/usbdevices.config instead of a local list.
adds slurm(4), umcs(4), uark(4), and usmsc(4).


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

2018-06-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun  5 00:58:42 UTC 2018

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

Log Message:
No need for NORELRO here.


To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/sys/arch/i386/conf/Makefile.i386

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



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

2018-06-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jun  5 00:58:42 UTC 2018

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

Log Message:
No need for NORELRO here.


To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/sys/arch/i386/conf/Makefile.i386

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/i386/conf/Makefile.i386
diff -u src/sys/arch/i386/conf/Makefile.i386:1.192 src/sys/arch/i386/conf/Makefile.i386:1.193
--- src/sys/arch/i386/conf/Makefile.i386:1.192	Mon Jun  4 16:28:44 2018
+++ src/sys/arch/i386/conf/Makefile.i386	Mon Jun  4 20:58:42 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.i386,v 1.192 2018/06/04 20:28:44 christos Exp $
+#	$NetBSD: Makefile.i386,v 1.193 2018/06/05 00:58:42 christos Exp $
 
 # Makefile for NetBSD
 #
@@ -18,7 +18,6 @@
 #	makeoptions DEBUGLIST="uvm* trap if_*"
 
 NOSANITIZER=	# defined
-NORELRO=	# defined
 MACHINE_ARCH=	i386
 USETOOLS?=	no
 NEED_OWN_INSTALL_TARGET?=no



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

2018-06-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun  4 20:28:44 UTC 2018

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

Log Message:
Disable RELRO/SANITIZER


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

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/i386/conf/Makefile.i386
diff -u src/sys/arch/i386/conf/Makefile.i386:1.191 src/sys/arch/i386/conf/Makefile.i386:1.192
--- src/sys/arch/i386/conf/Makefile.i386:1.191	Wed Apr 18 06:40:22 2018
+++ src/sys/arch/i386/conf/Makefile.i386	Mon Jun  4 16:28:44 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.i386,v 1.191 2018/04/18 10:40:22 martin Exp $
+#	$NetBSD: Makefile.i386,v 1.192 2018/06/04 20:28:44 christos Exp $
 
 # Makefile for NetBSD
 #
@@ -17,6 +17,8 @@
 #
 #	makeoptions DEBUGLIST="uvm* trap if_*"
 
+NOSANITIZER=	# defined
+NORELRO=	# defined
 MACHINE_ARCH=	i386
 USETOOLS?=	no
 NEED_OWN_INSTALL_TARGET?=no



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

2018-06-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jun  4 20:28:44 UTC 2018

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

Log Message:
Disable RELRO/SANITIZER


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

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



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

2018-04-18 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Apr 18 10:40:22 UTC 2018

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

Log Message:
Make SPECTRE_V2_GCC_MITIGATION overridable at the make command line.


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

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



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

2018-04-18 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Apr 18 10:40:22 UTC 2018

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

Log Message:
Make SPECTRE_V2_GCC_MITIGATION overridable at the make command line.


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

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/i386/conf/Makefile.i386
diff -u src/sys/arch/i386/conf/Makefile.i386:1.190 src/sys/arch/i386/conf/Makefile.i386:1.191
--- src/sys/arch/i386/conf/Makefile.i386:1.190	Sat Apr  7 19:38:06 2018
+++ src/sys/arch/i386/conf/Makefile.i386	Wed Apr 18 10:40:22 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.i386,v 1.190 2018/04/07 19:38:06 mrg Exp $
+#	$NetBSD: Makefile.i386,v 1.191 2018/04/18 10:40:22 martin Exp $
 
 # Makefile for NetBSD
 #
@@ -39,7 +39,7 @@ CFLAGS+=	-msoft-float
 ## no-sse implies no-sse2 but not no-avx
 CFLAGS+=	-mno-mmx -mno-sse -mno-avx
 
-.if !empty(SPECTRE_V2_GCC_MITIGATION) && ${HAVE_GCC:U0} > 0
+.if ${SPECTRE_V2_GCC_MITIGATION:U0} > 0 && ${HAVE_GCC:U0} > 0
 CFLAGS+=	-mindirect-branch=thunk
 CFLAGS+=	-mindirect-branch-register
 .endif



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

2018-02-16 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 17 01:34:45 UTC 2018

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
With the introduction of ddb.dumpstack which is enabled by default, we no longer
need to explicitly set DDB_COMMANDONENTER to run a trace.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/i386/conf/XEN3_DOMU

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/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.126 src/sys/arch/i386/conf/XEN3_DOM0:1.127
--- src/sys/arch/i386/conf/XEN3_DOM0:1.126	Mon Feb  5 11:19:55 2018
+++ src/sys/arch/i386/conf/XEN3_DOM0	Sat Feb 17 01:34:45 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.126 2018/02/05 11:19:55 bouyer Exp $
+#	$NetBSD: XEN3_DOM0,v 1.127 2018/02/17 01:34:45 sevan Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -75,7 +75,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
 #makeoptions	DEBUG="-g"	# compile full symbol table
-options DDB_COMMANDONENTER="trace;show registers"
+options DDB_COMMANDONENTER="show registers"
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"

Index: src/sys/arch/i386/conf/XEN3_DOMU
diff -u src/sys/arch/i386/conf/XEN3_DOMU:1.88 src/sys/arch/i386/conf/XEN3_DOMU:1.89
--- src/sys/arch/i386/conf/XEN3_DOMU:1.88	Tue Jan 23 15:08:12 2018
+++ src/sys/arch/i386/conf/XEN3_DOMU	Sat Feb 17 01:34:45 2018
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.88 2018/01/23 15:08:12 sevan Exp $
+# $NetBSD: XEN3_DOMU,v 1.89 2018/02/17 01:34:45 sevan Exp $
 
 include 	"arch/xen/conf/std.xen"
 
@@ -59,7 +59,7 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #options 	KGDB		# remote debugger
 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
 #makeoptions	DEBUG="-g"	# compile full symbol table
-options DDB_COMMANDONENTER="trace;show registers"
+options DDB_COMMANDONENTER="show registers"
 
 # Compatibility options
 include 	"conf/compat_netbsd09.config"



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

2018-02-16 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Sat Feb 17 01:34:45 UTC 2018

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
With the introduction of ddb.dumpstack which is enabled by default, we no longer
need to explicitly set DDB_COMMANDONENTER to run a trace.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.88 -r1.89 src/sys/arch/i386/conf/XEN3_DOMU

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



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

2018-01-26 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jan 27 07:51:04 UTC 2018

Removed Files:
src/sys/arch/i386/conf: kern.ldscript.4MB largepages.inc

Log Message:
Remove these files. No one cares about this on i386, and there is no
point in keeping undocumented options nobody understands anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r0 src/sys/arch/i386/conf/kern.ldscript.4MB
cvs rdiff -u -r1.4 -r0 src/sys/arch/i386/conf/largepages.inc

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



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

2018-01-26 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jan 27 07:51:04 UTC 2018

Removed Files:
src/sys/arch/i386/conf: kern.ldscript.4MB largepages.inc

Log Message:
Remove these files. No one cares about this on i386, and there is no
point in keeping undocumented options nobody understands anyway.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r0 src/sys/arch/i386/conf/kern.ldscript.4MB
cvs rdiff -u -r1.4 -r0 src/sys/arch/i386/conf/largepages.inc

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



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

2017-12-24 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Dec 25 06:35:57 UTC 2017

Modified Files:
src/sys/arch/i386/conf: INSTALL

Log Message:
install/52845: Enable vga@isa and pcdisplay for INSTALL. Otherwise, install
media do not boot on pre-PCI machines.

XXX pullup to netbsd-8 and netbsd-7


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/sys/arch/i386/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/i386/conf/INSTALL
diff -u src/sys/arch/i386/conf/INSTALL:1.331 src/sys/arch/i386/conf/INSTALL:1.332
--- src/sys/arch/i386/conf/INSTALL:1.331	Sun Nov  2 23:14:20 2014
+++ src/sys/arch/i386/conf/INSTALL	Mon Dec 25 06:35:57 2017
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.331 2014/11/02 23:14:20 christos Exp $
+# $NetBSD: INSTALL,v 1.332 2017/12/25 06:35:57 rin Exp $
 #
 #	INSTALL - Installation kernel.
 #
@@ -7,7 +7,7 @@
 
 include	"arch/i386/conf/MONOLITHIC"
 
-#ident 		"INSTALL-$Revision: 1.331 $"
+#ident 		"INSTALL-$Revision: 1.332 $"
 
 no options	MEMORY_DISK_DYNAMIC
 options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
@@ -19,3 +19,8 @@ options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	#
 no i915drmkms* at pci?
 no radeon* at pci?
 #no nouveau*	   at pci?
+
+# pre-PCI graphics drivers, not enabled in GENERIC
+vga0		at isa?
+pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
+wsdisplay*	at pcdisplay? console ?



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

2017-12-24 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Dec 25 06:35:57 UTC 2017

Modified Files:
src/sys/arch/i386/conf: INSTALL

Log Message:
install/52845: Enable vga@isa and pcdisplay for INSTALL. Otherwise, install
media do not boot on pre-PCI machines.

XXX pullup to netbsd-8 and netbsd-7


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/sys/arch/i386/conf/INSTALL

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



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

2017-12-10 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Dec 10 17:52:13 UTC 2017

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add option XHCI_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.432 -r1.433 src/sys/arch/i386/conf/ALL

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



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

2017-12-10 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sun Dec 10 17:52:13 UTC 2017

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add option XHCI_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.432 -r1.433 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.432 src/sys/arch/i386/conf/ALL:1.433
--- src/sys/arch/i386/conf/ALL:1.432	Sun Dec 10 17:19:48 2017
+++ src/sys/arch/i386/conf/ALL	Sun Dec 10 17:52:13 2017
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.432 2017/12/10 17:19:48 bouyer Exp $
+# $NetBSD: ALL,v 1.433 2017/12/10 17:52:13 hannken Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.432 $"
+#ident		"ALL-$Revision: 1.433 $"
 
 maxusers	64		# estimated number of users
 
@@ -2531,6 +2531,7 @@ options XENNET_DEBUG
 options XENNET_DEBUG_DUMP
 options XEN_CLOCK_DEBUG
 options XE_DEBUG
+options XHCI_DEBUG
 options ENDEBUG_LOW
 options XYC_DEBUG
 options ZSKBD_DEBUG



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

2017-11-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Nov 30 11:56:45 UTC 2017

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
add qemufwcfg(4)


To generate a diff of this commit:
cvs rdiff -u -r1.430 -r1.431 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1171 -r1.1172 src/sys/arch/i386/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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.430 src/sys/arch/i386/conf/ALL:1.431
--- src/sys/arch/i386/conf/ALL:1.430	Thu Sep 14 07:58:41 2017
+++ src/sys/arch/i386/conf/ALL	Thu Nov 30 11:56:45 2017
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.430 2017/09/14 07:58:41 mrg Exp $
+# $NetBSD: ALL,v 1.431 2017/11/30 11:56:45 jmcneill Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.430 $"
+#ident		"ALL-$Revision: 1.431 $"
 
 maxusers	64		# estimated number of users
 
@@ -377,6 +377,7 @@ lpt*		at acpi?		# Parallel port
 mpu*		at acpi?		# Roland MPU-401 MIDI UART
 pckbc*		at acpi?		# PC keyboard controller
 pcppi*		at acpi?		# AT-style speaker sound
+qemufwcfg*	at acpi?		# QEMU Firmware Configuration device
 thinkpad*	at acpi?		# IBM/Lenovo Thinkpad hotkeys
 #tpm*		at acpi?		# ACPI TPM (Experimental)
 ug*		at acpi?		# Abit uGuru Hardware monitor

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1171 src/sys/arch/i386/conf/GENERIC:1.1172
--- src/sys/arch/i386/conf/GENERIC:1.1171	Wed Nov 29 16:10:01 2017
+++ src/sys/arch/i386/conf/GENERIC	Thu Nov 30 11:56:45 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1171 2017/11/29 16:10:01 martin Exp $
+# $NetBSD: GENERIC,v 1.1172 2017/11/30 11:56:45 jmcneill Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1171 $"
+#ident		"GENERIC-$Revision: 1.1172 $"
 
 maxusers	64		# estimated number of users
 
@@ -351,6 +351,7 @@ joy*		at acpi?		# Joystick/Game port
 mpu*		at acpi?		# Roland MPU-401 MIDI UART
 pckbc*		at acpi?		# PC keyboard controller
 pcppi*		at acpi?		# AT-style speaker sound
+qemufwcfg*	at acpi?		# QEMU Firmware Configuration device
 sdhc*		at acpi?		# SD Host Controller
 sony*		at acpi?		# Sony Miscellaneous Controller
 thinkpad*	at acpi?		# IBM/Lenovo Thinkpad hotkeys



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

2017-11-30 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Thu Nov 30 11:56:45 UTC 2017

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
add qemufwcfg(4)


To generate a diff of this commit:
cvs rdiff -u -r1.430 -r1.431 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1171 -r1.1172 src/sys/arch/i386/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/i386/conf

2017-11-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Nov 29 16:10:01 UTC 2017

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

Log Message:
PR port-i386/52774: vioscsi missing in i386 kernel


To generate a diff of this commit:
cvs rdiff -u -r1.1170 -r1.1171 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1170 src/sys/arch/i386/conf/GENERIC:1.1171
--- src/sys/arch/i386/conf/GENERIC:1.1170	Mon Nov  6 02:57:18 2017
+++ src/sys/arch/i386/conf/GENERIC	Wed Nov 29 16:10:01 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1170 2017/11/06 02:57:18 rin Exp $
+# $NetBSD: GENERIC,v 1.1171 2017/11/29 16:10:01 martin Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1170 $"
+#ident		"GENERIC-$Revision: 1.1171 $"
 
 maxusers	64		# estimated number of users
 
@@ -1595,10 +1595,12 @@ geodecntr* at geodegcb? 		# AMD Geode SC
 weasel* at pci?
 
 # Virtio devices
-virtio*	at pci? dev ? function ?	# Virtio PCI device
-viomb*	at virtio?			# Virtio memory balloon device
-ld*	at virtio?			# Virtio disk device
-vioif*	at virtio?			# Virtio network device
+virtio* at pci? dev ? function ?	# Virtio PCI device
+viomb* at virtio?			# Virtio memory balloon device
+ld* at virtio?# Virtio disk device
+vioif* at virtio?			# Virtio network device
+viornd* at virtio?			# Virtio entropy device
+vioscsi* at virtio?			# Virtio SCSI device
 
 
 # Pull in optional local configuration



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

2017-11-29 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Wed Nov 29 16:10:01 UTC 2017

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

Log Message:
PR port-i386/52774: vioscsi missing in i386 kernel


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

2017-10-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Oct 23 08:08:53 UTC 2017

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

Log Message:
Add bwfm (and sort other 802.11 usb wifi drivers)


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

2017-10-23 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Oct 23 08:08:53 UTC 2017

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

Log Message:
Add bwfm (and sort other 802.11 usb wifi drivers)


To generate a diff of this commit:
cvs rdiff -u -r1.1168 -r1.1169 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1168 src/sys/arch/i386/conf/GENERIC:1.1169
--- src/sys/arch/i386/conf/GENERIC:1.1168	Thu Sep 14 07:58:41 2017
+++ src/sys/arch/i386/conf/GENERIC	Mon Oct 23 08:08:53 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1168 2017/09/14 07:58:41 mrg Exp $
+# $NetBSD: GENERIC,v 1.1169 2017/10/23 08:08:53 skrll Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1168 $"
+#ident		"GENERIC-$Revision: 1.1169 $"
 
 maxusers	64		# estimated number of users
 
@@ -1260,11 +1260,12 @@ urndis*	at uhub? port ?		# Microsoft RND
 # USB 802.11 adapters
 athn*	at uhub? port ?		# Atheros AR9002U
 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
+bwfm*	at uhub? port ?		# Broadcom FullMAC
 otus*	at uhub? port ?		# Atheros AR9001U
-ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
 rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
 run*	at uhub? port ?		# Ralink Technology RT(2[78]|30)00 802.11a/b/g/n
 upgt*	at uhub? port ?		# Intersil PrismGT
+ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
 urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
 urtwn*	at uhub? port ?		# Realtek RTL8188CU/RTL8192CU 802.11b/g/n
 zyd*	at uhub? port ?		# Zydas ZD1211



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

2017-07-31 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Jul 31 15:43:33 UTC 2017

Modified Files:
src/sys/arch/i386/conf: GENERIC GENERIC_TINY NET4501 XEN3_DOM0
XEN3_DOMU

Log Message:
Disable all the compat options until COMPAT_10. NetBSD 1.0 was released on
October 26 1994; 23 years of compatibility is enough. Discussed with
christos quickly.


To generate a diff of this commit:
cvs rdiff -u -r1.1161 -r1.1162 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/i386/conf/NET4501
cvs rdiff -u -r1.117 -r1.118 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/i386/conf/XEN3_DOMU

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1161 src/sys/arch/i386/conf/GENERIC:1.1162
--- src/sys/arch/i386/conf/GENERIC:1.1161	Sat Jul 29 18:08:58 2017
+++ src/sys/arch/i386/conf/GENERIC	Mon Jul 31 15:43:33 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1161 2017/07/29 18:08:58 maxv Exp $
+# $NetBSD: GENERIC,v 1.1162 2017/07/31 15:43:33 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1161 $"
+#ident		"GENERIC-$Revision: 1.1162 $"
 
 maxusers	64		# estimated number of users
 
@@ -124,8 +124,8 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 options 	KDTRACE_HOOKS	# kernel DTrace hooks
 
 # Compatibility options
-options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
-options 	COMPAT_09	# NetBSD 0.9,
+#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
+#options 	COMPAT_09	# NetBSD 0.9,
 options 	COMPAT_10	# NetBSD 1.0,
 options 	COMPAT_11	# NetBSD 1.1,
 options 	COMPAT_12	# NetBSD 1.2 (and 386BSD and BSDI),
@@ -139,7 +139,7 @@ options 	COMPAT_40	# NetBSD 4.0,
 options 	COMPAT_50	# NetBSD 5.0,
 options 	COMPAT_60	# NetBSD 6.0, and
 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
-options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
+#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility

Index: src/sys/arch/i386/conf/GENERIC_TINY
diff -u src/sys/arch/i386/conf/GENERIC_TINY:1.151 src/sys/arch/i386/conf/GENERIC_TINY:1.152
--- src/sys/arch/i386/conf/GENERIC_TINY:1.151	Sat Jul 29 18:08:58 2017
+++ src/sys/arch/i386/conf/GENERIC_TINY	Mon Jul 31 15:43:33 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: GENERIC_TINY,v 1.151 2017/07/29 18:08:58 maxv Exp $
+#	$NetBSD: GENERIC_TINY,v 1.152 2017/07/31 15:43:33 maxv Exp $
 #
 #	GENERIC_TINY -- suitable default for 4M machines
 #			No EISA, PCI, or SCSI.
@@ -72,7 +72,7 @@ options 	COMPAT_40	# NetBSD 4.0,
 options 	COMPAT_50	# NetBSD 5.0,
 options 	COMPAT_60	# NetBSD 6.0, and
 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
-options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
+#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 #options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC

Index: src/sys/arch/i386/conf/NET4501
diff -u src/sys/arch/i386/conf/NET4501:1.94 src/sys/arch/i386/conf/NET4501:1.95
--- src/sys/arch/i386/conf/NET4501:1.94	Sat Jul 29 18:08:58 2017
+++ src/sys/arch/i386/conf/NET4501	Mon Jul 31 15:43:33 2017
@@ -1,4 +1,4 @@
-# $NetBSD: NET4501,v 1.94 2017/07/29 18:08:58 maxv Exp $
+# $NetBSD: NET4501,v 1.95 2017/07/31 15:43:33 maxv Exp $
 #
 # NET4501 -- kernel configuration for a Soekris Engineering net4501
 # single-board computer.
@@ -10,7 +10,7 @@ include 	"arch/i386/conf/std.i386"
 
 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"NET4501-$Revision: 1.94 $"
+#ident 		"NET4501-$Revision: 1.95 $"
 
 maxusers	32		# estimated number of users
 
@@ -77,8 +77,8 @@ options 	DDB_HISTORY_SIZE=512	# enable h
 #makeoptions	DEBUG="-g"	# compile full symbol table
 
 # Compatibility options
-options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
-options 	COMPAT_09	# NetBSD 0.9,
+#options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
+#options 	COMPAT_09	# NetBSD 0.9,
 options 	COMPAT_10	# NetBSD 1.0,
 options 	COMPAT_11	# NetBSD 1.1,
 options 	COMPAT_12	# NetBSD 1.2 (and 386BSD and BSDI),
@@ -92,7 +92,7 @@ options 	COMPAT_40	# NetBSD 4.0,
 options 	COMPAT_50	# NetBSD 5.0,
 options 	COMPAT_60	# NetBSD 6.0, and
 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
-options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI compatibility.
+#options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI compatibility.
 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 
 #options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC

Index: src/sys/arch/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.117 src/sys/arch/i386/conf/XEN3_DOM0:1.118
--- 

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

2017-07-31 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Jul 31 15:43:33 UTC 2017

Modified Files:
src/sys/arch/i386/conf: GENERIC GENERIC_TINY NET4501 XEN3_DOM0
XEN3_DOMU

Log Message:
Disable all the compat options until COMPAT_10. NetBSD 1.0 was released on
October 26 1994; 23 years of compatibility is enough. Discussed with
christos quickly.


To generate a diff of this commit:
cvs rdiff -u -r1.1161 -r1.1162 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.151 -r1.152 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.94 -r1.95 src/sys/arch/i386/conf/NET4501
cvs rdiff -u -r1.117 -r1.118 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/i386/conf/XEN3_DOMU

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



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

2017-07-29 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 29 12:00:56 UTC 2017

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC GENERIC_TINY INSTALL_FLOPPY
INSTALL_TINY MODULAR NET4501 XEN3_DOM0 XEN3_DOMU

Log Message:
Remove svr4 from the config files.


To generate a diff of this commit:
cvs rdiff -u -r1.422 -r1.423 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1159 -r1.1160 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.149 -r1.150 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/INSTALL_FLOPPY
cvs rdiff -u -r1.150 -r1.151 src/sys/arch/i386/conf/INSTALL_TINY
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/MODULAR
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/i386/conf/NET4501
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/i386/conf/XEN3_DOMU

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



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

2017-07-29 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 29 12:00:56 UTC 2017

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC GENERIC_TINY INSTALL_FLOPPY
INSTALL_TINY MODULAR NET4501 XEN3_DOM0 XEN3_DOMU

Log Message:
Remove svr4 from the config files.


To generate a diff of this commit:
cvs rdiff -u -r1.422 -r1.423 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1159 -r1.1160 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.149 -r1.150 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/i386/conf/INSTALL_FLOPPY
cvs rdiff -u -r1.150 -r1.151 src/sys/arch/i386/conf/INSTALL_TINY
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/i386/conf/MODULAR
cvs rdiff -u -r1.92 -r1.93 src/sys/arch/i386/conf/NET4501
cvs rdiff -u -r1.115 -r1.116 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.79 -r1.80 src/sys/arch/i386/conf/XEN3_DOMU

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.422 src/sys/arch/i386/conf/ALL:1.423
--- src/sys/arch/i386/conf/ALL:1.422	Sat Jul 29 07:19:47 2017
+++ src/sys/arch/i386/conf/ALL	Sat Jul 29 12:00:56 2017
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.422 2017/07/29 07:19:47 maxv Exp $
+# $NetBSD: ALL,v 1.423 2017/07/29 12:00:56 maxv Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"ALL-$Revision: 1.422 $"
+#ident		"ALL-$Revision: 1.423 $"
 
 maxusers	64		# estimated number of users
 
@@ -149,7 +149,6 @@ options 	COMPAT_386BSD_MBRPART # recogni
 options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
-options 	COMPAT_SVR4	# binary compatibility with SVR4
 options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 options 	COMPAT_LINUX	# binary compatibility with Linux
 options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
@@ -2105,7 +2104,6 @@ options DEBUG_PTM
 options DEBUG_RAWFS
 options DEBUG_RPC
 options DEBUG_SNAPPER
-options DEBUG_SVR4
 options DEBUG_SYNC
 options DEBUG_TERM
 options DEBUG_UL

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1159 src/sys/arch/i386/conf/GENERIC:1.1160
--- src/sys/arch/i386/conf/GENERIC:1.1159	Fri Jul 28 14:13:13 2017
+++ src/sys/arch/i386/conf/GENERIC	Sat Jul 29 12:00:56 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1159 2017/07/28 14:13:13 maxv Exp $
+# $NetBSD: GENERIC,v 1.1160 2017/07/29 12:00:56 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1159 $"
+#ident		"GENERIC-$Revision: 1.1160 $"
 
 maxusers	64		# estimated number of users
 
@@ -144,7 +144,6 @@ options 	COMPAT_43	# 4.3BSD, 386BSD, and
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
-#options 	COMPAT_SVR4	# binary compatibility with SVR4
 #options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD

Index: src/sys/arch/i386/conf/GENERIC_TINY
diff -u src/sys/arch/i386/conf/GENERIC_TINY:1.149 src/sys/arch/i386/conf/GENERIC_TINY:1.150
--- src/sys/arch/i386/conf/GENERIC_TINY:1.149	Sun Feb 26 12:21:15 2017
+++ src/sys/arch/i386/conf/GENERIC_TINY	Sat Jul 29 12:00:56 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: GENERIC_TINY,v 1.149 2017/02/26 12:21:15 maya Exp $
+#	$NetBSD: GENERIC_TINY,v 1.150 2017/07/29 12:00:56 maxv Exp $
 #
 #	GENERIC_TINY -- suitable default for 4M machines
 #			No EISA, PCI, or SCSI.
@@ -76,7 +76,6 @@ options 	COMPAT_43	# 4.3BSD, 386BSD, and
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
-#options 	COMPAT_SVR4	# binary compatibility with SVR4
 #options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 #options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD

Index: src/sys/arch/i386/conf/INSTALL_FLOPPY
diff -u src/sys/arch/i386/conf/INSTALL_FLOPPY:1.37 src/sys/arch/i386/conf/INSTALL_FLOPPY:1.38
--- src/sys/arch/i386/conf/INSTALL_FLOPPY:1.37	Sun Feb 26 12:21:15 2017
+++ src/sys/arch/i386/conf/INSTALL_FLOPPY	Sat Jul 29 12:00:56 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL_FLOPPY,v 1.37 2017/02/26 12:21:15 maya Exp $
+#	$NetBSD: INSTALL_FLOPPY,v 1.38 2017/07/29 12:00:56 maxv Exp $
 #
 #	INSTALL - Installation kernel.
 #
@@ -98,7 +98,6 @@ options 	COMPAT_70	# NetBSD 7.0 binary c
 #options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not 

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

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 29 05:59:08 UTC 2017

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
Disable COMPAT_386BSD_MBRPART on Xen - not enabled in GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/i386/conf/XEN3_DOMU

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/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.114 src/sys/arch/i386/conf/XEN3_DOM0:1.115
--- src/sys/arch/i386/conf/XEN3_DOM0:1.114	Fri Jul 28 14:13:13 2017
+++ src/sys/arch/i386/conf/XEN3_DOM0	Sat Jul 29 05:59:08 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.114 2017/07/28 14:13:13 maxv Exp $
+#	$NetBSD: XEN3_DOM0,v 1.115 2017/07/29 05:59:08 maxv Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -93,7 +93,7 @@ options 	COMPAT_40	# NetBSD 4.0,
 options 	COMPAT_50	# NetBSD 5.0,
 options 	COMPAT_60	# NetBSD 6.0, and
 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
-options 	COMPAT_386BSD_MBRPART # recognize old partition ID
+#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility

Index: src/sys/arch/i386/conf/XEN3_DOMU
diff -u src/sys/arch/i386/conf/XEN3_DOMU:1.78 src/sys/arch/i386/conf/XEN3_DOMU:1.79
--- src/sys/arch/i386/conf/XEN3_DOMU:1.78	Fri Jul 28 14:13:13 2017
+++ src/sys/arch/i386/conf/XEN3_DOMU	Sat Jul 29 05:59:08 2017
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.78 2017/07/28 14:13:13 maxv Exp $
+# $NetBSD: XEN3_DOMU,v 1.79 2017/07/29 05:59:08 maxv Exp $
 
 include 	"arch/xen/conf/std.xen"
 
@@ -77,7 +77,7 @@ options 	COMPAT_40	# NetBSD 4.0,
 options 	COMPAT_50	# NetBSD 5.0,
 options 	COMPAT_60	# NetBSD 6.0, and
 options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
-options 	COMPAT_386BSD_MBRPART # recognize old partition ID
+#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility



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

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat Jul 29 05:59:08 UTC 2017

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
Disable COMPAT_386BSD_MBRPART on Xen - not enabled in GENERIC.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.78 -r1.79 src/sys/arch/i386/conf/XEN3_DOMU

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



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

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Jul 28 14:13:13 UTC 2017

Modified Files:
src/sys/arch/i386/conf: GENERIC XEN3_DOM0 XEN3_DOMU

Log Message:
Disable svr4 and ibcs2 by default.

These options are not well-tested, of a limited use case, and the potential
for damage is too high. Vulnerabilities were presented at DEFCON 25 - I see
that at least one of them can be exploited to get ring0 privileges.


To generate a diff of this commit:
cvs rdiff -u -r1.1158 -r1.1159 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/i386/conf/XEN3_DOMU

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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1158 src/sys/arch/i386/conf/GENERIC:1.1159
--- src/sys/arch/i386/conf/GENERIC:1.1158	Fri Jul 28 13:59:07 2017
+++ src/sys/arch/i386/conf/GENERIC	Fri Jul 28 14:13:13 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1158 2017/07/28 13:59:07 maxv Exp $
+# $NetBSD: GENERIC,v 1.1159 2017/07/28 14:13:13 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1158 $"
+#ident		"GENERIC-$Revision: 1.1159 $"
 
 maxusers	64		# estimated number of users
 
@@ -144,8 +144,8 @@ options 	COMPAT_43	# 4.3BSD, 386BSD, and
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
-options 	COMPAT_SVR4	# binary compatibility with SVR4
-options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
+#options 	COMPAT_SVR4	# binary compatibility with SVR4
+#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
 #options 	COMPAT_NDIS	# NDIS network driver

Index: src/sys/arch/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.113 src/sys/arch/i386/conf/XEN3_DOM0:1.114
--- src/sys/arch/i386/conf/XEN3_DOM0:1.113	Thu Jun 22 18:14:32 2017
+++ src/sys/arch/i386/conf/XEN3_DOM0	Fri Jul 28 14:13:13 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.113 2017/06/22 18:14:32 khorben Exp $
+#	$NetBSD: XEN3_DOM0,v 1.114 2017/07/28 14:13:13 maxv Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -97,8 +97,8 @@ options 	COMPAT_386BSD_MBRPART # recogni
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
-options 	COMPAT_SVR4	# binary compatibility with SVR4
-options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
+#options 	COMPAT_SVR4	# binary compatibility with SVR4
+#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

Index: src/sys/arch/i386/conf/XEN3_DOMU
diff -u src/sys/arch/i386/conf/XEN3_DOMU:1.77 src/sys/arch/i386/conf/XEN3_DOMU:1.78
--- src/sys/arch/i386/conf/XEN3_DOMU:1.77	Sun May 21 06:19:37 2017
+++ src/sys/arch/i386/conf/XEN3_DOMU	Fri Jul 28 14:13:13 2017
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.77 2017/05/21 06:19:37 pgoyette Exp $
+# $NetBSD: XEN3_DOMU,v 1.78 2017/07/28 14:13:13 maxv Exp $
 
 include 	"arch/xen/conf/std.xen"
 
@@ -81,8 +81,8 @@ options 	COMPAT_386BSD_MBRPART # recogni
 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
 
 options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
-options 	COMPAT_SVR4	# binary compatibility with SVR4
-options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
+#options 	COMPAT_SVR4	# binary compatibility with SVR4
+#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 options 	COMPAT_LINUX	# binary compatibility with Linux
 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
 options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.



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

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Jul 28 14:13:13 UTC 2017

Modified Files:
src/sys/arch/i386/conf: GENERIC XEN3_DOM0 XEN3_DOMU

Log Message:
Disable svr4 and ibcs2 by default.

These options are not well-tested, of a limited use case, and the potential
for damage is too high. Vulnerabilities were presented at DEFCON 25 - I see
that at least one of them can be exploited to get ring0 privileges.


To generate a diff of this commit:
cvs rdiff -u -r1.1158 -r1.1159 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.113 -r1.114 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/i386/conf/XEN3_DOMU

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



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

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Jul 28 13:59:07 UTC 2017

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

Log Message:
Disable vm86 by default. The use case is limited, and the potential for
damage is too high.

This code is fragile, and relies on a certain number of assumptions, some
of which are not be totally true. For example, it relies on the fact that
a 16bit process cannot perform a syscall, but verily it can. The slighest
confusion in the trap frame can lead to ring0 exploits. Also, I'm not
convinced that it interacts well with the compatibility layers.


To generate a diff of this commit:
cvs rdiff -u -r1.1157 -r1.1158 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1157 src/sys/arch/i386/conf/GENERIC:1.1158
--- src/sys/arch/i386/conf/GENERIC:1.1157	Wed Jul 12 17:40:34 2017
+++ src/sys/arch/i386/conf/GENERIC	Fri Jul 28 13:59:07 2017
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1157 2017/07/12 17:40:34 maxv Exp $
+# $NetBSD: GENERIC,v 1.1158 2017/07/28 13:59:07 maxv Exp $
 #
 # GENERIC machine description file
 #
@@ -22,12 +22,12 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident		"GENERIC-$Revision: 1.1157 $"
+#ident		"GENERIC-$Revision: 1.1158 $"
 
 maxusers	64		# estimated number of users
 
 # CPU-related options.
-options 	VM86		# virtual 8086 emulation
+#options 	VM86		# virtual 8086 emulation
 options 	USER_LDT	# user-settable LDT; used by WINE
 #options 	PAE		# PAE mode (36 bits physical addressing)
 



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

2017-07-28 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri Jul 28 13:59:07 UTC 2017

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

Log Message:
Disable vm86 by default. The use case is limited, and the potential for
damage is too high.

This code is fragile, and relies on a certain number of assumptions, some
of which are not be totally true. For example, it relies on the fact that
a 16bit process cannot perform a syscall, but verily it can. The slighest
confusion in the trap frame can lead to ring0 exploits. Also, I'm not
convinced that it interacts well with the compatibility layers.


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

2017-06-25 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Jun 25 20:22:32 UTC 2017

Modified Files:
src/sys/arch/i386/conf: kern.ldscript.Xen

Log Message:
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we should change
this symbol name).
keep kernel_end PAGE-aligned.
Makes ddb work again on Xen/i386


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/i386/conf/kern.ldscript.Xen

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



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

2017-06-25 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Sun Jun 25 20:22:32 UTC 2017

Modified Files:
src/sys/arch/i386/conf: kern.ldscript.Xen

Log Message:
Restore alignement of _end to rev 1.12: this is where the Xen loader
puts the symbol table and should not be changed (maybe we should change
this symbol name).
keep kernel_end PAGE-aligned.
Makes ddb work again on Xen/i386


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/i386/conf/kern.ldscript.Xen

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/i386/conf/kern.ldscript.Xen
diff -u src/sys/arch/i386/conf/kern.ldscript.Xen:1.13 src/sys/arch/i386/conf/kern.ldscript.Xen:1.14
--- src/sys/arch/i386/conf/kern.ldscript.Xen:1.13	Tue Aug  2 14:03:34 2016
+++ src/sys/arch/i386/conf/kern.ldscript.Xen	Sun Jun 25 20:22:32 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern.ldscript.Xen,v 1.13 2016/08/02 14:03:34 maxv Exp $	*/
+/*	$NetBSD: kern.ldscript.Xen,v 1.14 2017/06/25 20:22:32 bouyer Exp $	*/
 
 #include "assym.h"
 
@@ -54,14 +54,15 @@ SECTIONS
 		*(COMMON)
 		. = ALIGN(32 / 8);
 	}
+	. = ALIGN(32 / 8);
+	_end = . ;
+	PROVIDE (end = .) ;
 
 	. = ALIGN(__PAGE_SIZE);
 
 	/* End of the kernel image */
 	__kernel_end = . ;
 
-	_end = . ;
-	PROVIDE (end = .) ;
 	.note.netbsd.ident :
 	{
 		KEEP(*(.note.netbsd.ident));



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

2017-01-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 23 17:36:17 UTC 2017

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
PR/51908: Kyle Amon: Allow customization of XEN kernels via .local files.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/i386/conf/XEN3_DOMU

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/i386/conf/XEN3_DOM0
diff -u src/sys/arch/i386/conf/XEN3_DOM0:1.105 src/sys/arch/i386/conf/XEN3_DOM0:1.106
--- src/sys/arch/i386/conf/XEN3_DOM0:1.105	Thu Jan 12 00:24:36 2017
+++ src/sys/arch/i386/conf/XEN3_DOM0	Mon Jan 23 12:36:16 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: XEN3_DOM0,v 1.105 2017/01/12 05:24:36 ryo Exp $
+#	$NetBSD: XEN3_DOM0,v 1.106 2017/01/23 17:36:16 christos Exp $
 #
 #	XEN3_0: Xen 3.0 domain0 kernel
 
@@ -774,6 +774,7 @@ hifn*	at pci? dev ? function ?	# Hifn 77
 ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
 
 cinclude "arch/i386/conf/GENERIC.local"
+cinclude "arch/i386/conf/XEN3_DOM0.local"
 
 # Pseudo-Devices
 

Index: src/sys/arch/i386/conf/XEN3_DOMU
diff -u src/sys/arch/i386/conf/XEN3_DOMU:1.71 src/sys/arch/i386/conf/XEN3_DOMU:1.72
--- src/sys/arch/i386/conf/XEN3_DOMU:1.71	Thu Jan 12 00:24:36 2017
+++ src/sys/arch/i386/conf/XEN3_DOMU	Mon Jan 23 12:36:16 2017
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.71 2017/01/12 05:24:36 ryo Exp $
+# $NetBSD: XEN3_DOMU,v 1.72 2017/01/23 17:36:16 christos Exp $
 
 include 	"arch/xen/conf/std.xen"
 
@@ -197,6 +197,7 @@ xbd*		at xenbus?		# Xen virtual block de
 balloon*	at xenbus?		# Xen balloon device
 
 cinclude "arch/i386/conf/GENERIC.local"
+cinclude "arch/i386/conf/XEN3_DOMU.local"
 
 # Pseudo-Devices
 



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

2017-01-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Jan 23 17:36:17 UTC 2017

Modified Files:
src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU

Log Message:
PR/51908: Kyle Amon: Allow customization of XEN kernels via .local files.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/i386/conf/XEN3_DOMU

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



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

2017-01-07 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Sat Jan  7 11:21:05 UTC 2017

Modified Files:
src/sys/arch/i386/conf: GENERIC_TINY

Log Message:
Add wsmux so wsconsctl will not fail when -f is not specified (and default
control devices are used), as in /etc/rc.d/wscons.
Kernel size increase is < 4 kB.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/i386/conf/GENERIC_TINY

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



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

2017-01-07 Thread Felix Deichmann
Module Name:src
Committed By:   flxd
Date:   Sat Jan  7 11:21:05 UTC 2017

Modified Files:
src/sys/arch/i386/conf: GENERIC_TINY

Log Message:
Add wsmux so wsconsctl will not fail when -f is not specified (and default
control devices are used), as in /etc/rc.d/wscons.
Kernel size increase is < 4 kB.


To generate a diff of this commit:
cvs rdiff -u -r1.146 -r1.147 src/sys/arch/i386/conf/GENERIC_TINY

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/i386/conf/GENERIC_TINY
diff -u src/sys/arch/i386/conf/GENERIC_TINY:1.146 src/sys/arch/i386/conf/GENERIC_TINY:1.147
--- src/sys/arch/i386/conf/GENERIC_TINY:1.146	Tue Dec 13 20:42:18 2016
+++ src/sys/arch/i386/conf/GENERIC_TINY	Sat Jan  7 11:21:05 2017
@@ -1,4 +1,4 @@
-#	$NetBSD: GENERIC_TINY,v 1.146 2016/12/13 20:42:18 christos Exp $
+#	$NetBSD: GENERIC_TINY,v 1.147 2017/01/07 11:21:05 flxd Exp $
 #
 #	GENERIC_TINY -- suitable default for 4M machines
 #			No EISA, PCI, or SCSI.
@@ -555,3 +555,6 @@ pseudo-device	tun			# network tunneling 
 pseudo-device	pty			# pseudo-terminals
 #options 	RND_COM			# use "com" randomness as well (BROKEN)
 pseudo-device	clockctl		# user control of clock subsystem
+
+# wscons pseudo-devices
+pseudo-device	wsmux			# mouse & keyboard multiplexor



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

2016-12-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  9 02:24:17 UTC 2016

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC GENERIC_TINY INSTALL_FLOPPY
INSTALL_TINY

Log Message:
PCPPISPEAKER


To generate a diff of this commit:
cvs rdiff -u -r1.404 -r1.405 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1142 -r1.1143 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.143 -r1.144 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/i386/conf/INSTALL_FLOPPY
cvs rdiff -u -r1.145 -r1.146 src/sys/arch/i386/conf/INSTALL_TINY

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.404 src/sys/arch/i386/conf/ALL:1.405
--- src/sys/arch/i386/conf/ALL:1.404	Thu Dec  8 06:31:10 2016
+++ src/sys/arch/i386/conf/ALL	Thu Dec  8 21:24:17 2016
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.404 2016/12/08 11:31:10 nat Exp $
+# $NetBSD: ALL,v 1.405 2016/12/09 02:24:17 christos Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.404 $"
+#ident 		"ALL-$Revision: 1.405 $"
 
 maxusers	64		# estimated number of users
 
@@ -1543,7 +1543,6 @@ midi*	at midibus?
 midi*	at pcppi?		# MIDI interface to the PC speaker
 
 # The spkr driver provides a simple tone interface to the built in speaker.
-options PCPPISPEAKER
 spkr0	at pcppi?		# PC speaker
 
 #options VAUDIOSPEAKER

Index: src/sys/arch/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1142 src/sys/arch/i386/conf/GENERIC:1.1143
--- src/sys/arch/i386/conf/GENERIC:1.1142	Thu Dec  8 06:31:10 2016
+++ src/sys/arch/i386/conf/GENERIC	Thu Dec  8 21:24:17 2016
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1142 2016/12/08 11:31:10 nat Exp $
+# $NetBSD: GENERIC,v 1.1143 2016/12/09 02:24:17 christos Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.1142 $"
+#ident 		"GENERIC-$Revision: 1.1143 $"
 
 maxusers	64		# estimated number of users
 
@@ -1466,7 +1466,6 @@ midi*	at midibus?
 midi*	at pcppi?		# MIDI interface to the PC speaker
 
 # The spkr driver provides a simple tone interface to the built in speaker.
-#options PCPPISPEAKER
 #spkr0	at pcppi?		# PC speaker
 
 #options VAUDIOSPEAKER

Index: src/sys/arch/i386/conf/GENERIC_TINY
diff -u src/sys/arch/i386/conf/GENERIC_TINY:1.143 src/sys/arch/i386/conf/GENERIC_TINY:1.144
--- src/sys/arch/i386/conf/GENERIC_TINY:1.143	Thu Dec  8 06:31:10 2016
+++ src/sys/arch/i386/conf/GENERIC_TINY	Thu Dec  8 21:24:17 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: GENERIC_TINY,v 1.143 2016/12/08 11:31:10 nat Exp $
+#	$NetBSD: GENERIC_TINY,v 1.144 2016/12/09 02:24:17 christos Exp $
 #
 #	GENERIC_TINY -- suitable default for 4M machines
 #			No EISA, PCI, or SCSI.
@@ -508,7 +508,6 @@ we1	at isa? port 0x300 iomem 0xcc000 irq
 #audio*	at audiobus?
 
 # The spkr driver provides a simple tone interface to the built in speaker.
-#options PCPPISPEAKER
 #spkr0	at pcppi?		# PC speaker
 
 #options VAUDIOSPEAKER

Index: src/sys/arch/i386/conf/INSTALL_FLOPPY
diff -u src/sys/arch/i386/conf/INSTALL_FLOPPY:1.31 src/sys/arch/i386/conf/INSTALL_FLOPPY:1.32
--- src/sys/arch/i386/conf/INSTALL_FLOPPY:1.31	Thu Dec  8 06:31:10 2016
+++ src/sys/arch/i386/conf/INSTALL_FLOPPY	Thu Dec  8 21:24:17 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL_FLOPPY,v 1.31 2016/12/08 11:31:10 nat Exp $
+#	$NetBSD: INSTALL_FLOPPY,v 1.32 2016/12/09 02:24:17 christos Exp $
 #
 #	INSTALL - Installation kernel.
 #
@@ -710,7 +710,6 @@ url*	at uhub? port ?		# Realtek RTL8150L
 #midi*	at pcppi?		# MIDI interface to the PC speaker
 
 # The spkr driver provides a simple tone interface to the built in speaker.
-#options PCPPISPEAKER
 #spkr0	at pcppi?		# PC speaker
 
 #options VAUDIOSPEAKER

Index: src/sys/arch/i386/conf/INSTALL_TINY
diff -u src/sys/arch/i386/conf/INSTALL_TINY:1.145 src/sys/arch/i386/conf/INSTALL_TINY:1.146
--- src/sys/arch/i386/conf/INSTALL_TINY:1.145	Thu Dec  8 06:31:11 2016
+++ src/sys/arch/i386/conf/INSTALL_TINY	Thu Dec  8 21:24:17 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: INSTALL_TINY,v 1.145 2016/12/08 11:31:11 nat Exp $
+#	$NetBSD: INSTALL_TINY,v 1.146 2016/12/09 02:24:17 christos Exp $
 #
 #	This kernel should be derived from INSTALL (which is derived
 #	from GENERIC) with some features commented out.
@@ -468,7 +468,6 @@ we1	at isa? port 0x300 iomem 0xcc000 irq
 #audio*	at audiobus?
 
 # The spkr driver provides a simple tone interface to the built in speaker.
-#options PCPPISPEAKER
 #spkr0	at pcppi?		# PC speaker
 
 #options VAUDIOSPEAKER



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

2016-12-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Dec  9 02:24:17 UTC 2016

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC GENERIC_TINY INSTALL_FLOPPY
INSTALL_TINY

Log Message:
PCPPISPEAKER


To generate a diff of this commit:
cvs rdiff -u -r1.404 -r1.405 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1142 -r1.1143 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.143 -r1.144 src/sys/arch/i386/conf/GENERIC_TINY
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/i386/conf/INSTALL_FLOPPY
cvs rdiff -u -r1.145 -r1.146 src/sys/arch/i386/conf/INSTALL_TINY

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



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

2016-09-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Sep 17 18:37:46 UTC 2016

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

Log Message:
add nvme(4)


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

2016-09-17 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Sat Sep 17 18:37:46 UTC 2016

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

Log Message:
add nvme(4)


To generate a diff of this commit:
cvs rdiff -u -r1.1139 -r1.1140 src/sys/arch/i386/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/i386/conf/GENERIC
diff -u src/sys/arch/i386/conf/GENERIC:1.1139 src/sys/arch/i386/conf/GENERIC:1.1140
--- src/sys/arch/i386/conf/GENERIC:1.1139	Sun Aug  7 10:44:05 2016
+++ src/sys/arch/i386/conf/GENERIC	Sat Sep 17 18:37:46 2016
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1139 2016/08/07 10:44:05 christos Exp $
+# $NetBSD: GENERIC,v 1.1140 2016/09/17 18:37:46 jdolecek Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.1139 $"
+#ident 		"GENERIC-$Revision: 1.1140 $"
 
 maxusers	64		# estimated number of users
 
@@ -835,6 +835,9 @@ ses*	at scsibus? target ? lun ?	# SCSI E
 ss*	at scsibus? target ? lun ?	# SCSI scanners
 uk*	at scsibus? target ? lun ?	# SCSI unknown
 
+# NVM Express controllers and devices
+nvme*   at pci? dev ? function ?
+ld* at nvme? nsid ?
 
 # RAID controllers and devices
 aac*	at pci? dev ? function ?	# Adaptec AAC family



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

2016-09-15 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Sep 15 20:03:36 UTC 2016

Modified Files:
src/sys/arch/i386/conf: MODULAR

Log Message:
COMPAT_FREEBSD was dropped from GENERIC in rev. 1.1125, no need to disable in 
MODULAR any more


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/MODULAR

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



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

2016-09-15 Thread Jaromir Dolecek
Module Name:src
Committed By:   jdolecek
Date:   Thu Sep 15 20:03:36 UTC 2016

Modified Files:
src/sys/arch/i386/conf: MODULAR

Log Message:
COMPAT_FREEBSD was dropped from GENERIC in rev. 1.1125, no need to disable in 
MODULAR any more


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/i386/conf/MODULAR

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/i386/conf/MODULAR
diff -u src/sys/arch/i386/conf/MODULAR:1.2 src/sys/arch/i386/conf/MODULAR:1.3
--- src/sys/arch/i386/conf/MODULAR:1.2	Sat Mar 10 21:51:53 2012
+++ src/sys/arch/i386/conf/MODULAR	Thu Sep 15 20:03:36 2016
@@ -1,4 +1,4 @@
-# $NetBSD: MODULAR,v 1.2 2012/03/10 21:51:53 joerg Exp $
+# $NetBSD: MODULAR,v 1.3 2016/09/15 20:03:36 jdolecek Exp $
 #
 # MODULAR kernel
 # This kernel config prefers loading kernel drivers from file system.
@@ -18,7 +18,6 @@ no options 	COMPAT_OSSAUDIO	# OSS (Voxwa
 no options 	COMPAT_SVR4	# binary compatibility with SVR4
 no options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
 no options 	COMPAT_LINUX	# binary compatibility with Linux
-no options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
 
 # build non boot critical file systems as modules
 #



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

2016-07-11 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Jul 11 11:26:46 UTC 2016

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add tcpcib, gpioiic, gpiopwm and bwi into i386/conf/ALL.


To generate a diff of this commit:
cvs rdiff -u -r1.398 -r1.399 src/sys/arch/i386/conf/ALL

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/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.398 src/sys/arch/i386/conf/ALL:1.399
--- src/sys/arch/i386/conf/ALL:1.398	Wed May 11 02:09:10 2016
+++ src/sys/arch/i386/conf/ALL	Mon Jul 11 11:26:46 2016
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.398 2016/05/11 02:09:10 riastradh Exp $
+# $NetBSD: ALL,v 1.399 2016/07/11 11:26:46 msaitoh Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@ include 	"arch/i386/conf/std.i386"
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.398 $"
+#ident 		"ALL-$Revision: 1.399 $"
 
 maxusers	64		# estimated number of users
 
@@ -488,6 +488,8 @@ ichlpcib* at pci? dev ? function ?	# Int
 hpet0	at ichlpcib?			# High Precision Event Timer
 fwhrng* at ichlpcib?			# Intel 82802 FWH Random Number Generator
 tco*	at ichlpcib?			# TCO watchdog timer
+tcpcib* at pci? dev ? function ?	# Intel Atom E6xx PCI-LPC
+hpet* at tcpcib?
 gcscpcib* at pci? dev ? function ?	# AMD CS5535/CS5536 PCI-ISA w/
 gpio*	at gcscpcib?			# timecounter, watchdog and GPIO
 piixpcib* at pci? dev ? function ?	# Intel PIIX4 PCI-ISA w/ SpeedStep
@@ -788,9 +790,17 @@ onewire*	at gpioow?
 # 1-Wire devices
 owtemp* 	at onewire?			# Temperature sensors
 
+# i2c support
+gpioiic*	at gpio? offset ? mask ? flag 0x00	# flag 0x01 reverses
+			# SCA and SCL signals
+iic*		at gpioiic?
+
 # Keylock support
 gpiolock*	at gpio?
 
+# Software pulsing GPIO pins
+gpiopwm*	at gpio?
+
 # Soekris 6501 GPIO/LED driver (provides gpiobus, needs gpio)
 soekrisgpio0	at isa? port 0x680
 
@@ -1145,6 +1155,7 @@ we1	at isa? port 0x300 iomem 0xcc000 irq
 ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
 athn*	at cardbus? function ?	# Atheros AR9k (802.11a/g/n)
 atw*	at cardbus? function ?	# ADMtek ADM8211 (802.11)
+bwi*	at cardbus? function ?	# Broadcom BCM43xx wireless
 ex*	at cardbus? function ?	# 3Com 3c575TX
 fxp*	at cardbus? function ?	# Intel i8255x
 ral*	at cardbus? function ?	# Ralink Technology RT25x0 802.11a/b/g



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

2016-07-11 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Mon Jul 11 11:26:46 UTC 2016

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add tcpcib, gpioiic, gpiopwm and bwi into i386/conf/ALL.


To generate a diff of this commit:
cvs rdiff -u -r1.398 -r1.399 src/sys/arch/i386/conf/ALL

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



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

2016-05-19 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 20 01:37:47 UTC 2016

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

Log Message:
Turn on PaX ASLR/MPROTECT


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

2016-05-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon May 16 07:52:31 UTC 2016

Modified Files:
src/sys/arch/i386/conf: kern.ldscript.4MB

Log Message:
Update kern.ldscript.4MB. It is the same as kern.ldscript, but with a large
page alignment before rodata.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/conf/kern.ldscript.4MB

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



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

2016-05-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon May 16 07:52:31 UTC 2016

Modified Files:
src/sys/arch/i386/conf: kern.ldscript.4MB

Log Message:
Update kern.ldscript.4MB. It is the same as kern.ldscript, but with a large
page alignment before rodata.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/i386/conf/kern.ldscript.4MB

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/i386/conf/kern.ldscript.4MB
diff -u src/sys/arch/i386/conf/kern.ldscript.4MB:1.16 src/sys/arch/i386/conf/kern.ldscript.4MB:1.17
--- src/sys/arch/i386/conf/kern.ldscript.4MB:1.16	Tue Aug 25 12:56:58 2015
+++ src/sys/arch/i386/conf/kern.ldscript.4MB	Mon May 16 07:52:31 2016
@@ -1,69 +1,88 @@
-/*	$NetBSD: kern.ldscript.4MB,v 1.16 2015/08/25 12:56:58 uebayasi Exp $	*/
+/*	$NetBSD: kern.ldscript.4MB,v 1.17 2016/05/16 07:52:31 maxv Exp $	*/
 
 #include "assym.h"
 
+/*
+ * The large page size is 4MB in the non-PAE case.
+ */
+
+__PAGE_SIZE = 0x1000 ;
+__LARGE_PAGE_SIZE = 0x40 ;
+
 ENTRY(_start)
 SECTIONS
 {
-  /* Read-only sections, merged into text segment: */
-  .text :
-  {
-*(.text)
-*(.text.*)
-*(.stub)
-  }
-  _etext = . ;
-  PROVIDE (etext = .) ;
-
-  .rodata :
-  {
-*(.rodata)
-*(.rodata.*)
-  }
-
-  /* Adjust the address for the data segment.  We push the data segment
- up to the next 4MB boundary so that we can map the text with large
- pages. */
-  . = ALIGN(0x40);
-  __data_start = . ;
-  .data :
-  {
-*(.data)
-  }
-  . = ALIGN(COHERENCY_UNIT);
-  .data.cacheline_aligned :
-  {
-*(.data.cacheline_aligned)
-  }
-  . = ALIGN(COHERENCY_UNIT);
-  .data.read_mostly :
-  {
-*(.data.read_mostly)
-  }
-  . = ALIGN(COHERENCY_UNIT);
-  _edata = . ;
-  PROVIDE (edata = .) ;
-  __bss_start = . ;
-  .bss :
-  {
-*(.bss)
-*(.bss.*)
-*(COMMON)
-. = ALIGN(32 / 8);
-  }
-  . = ALIGN(32 / 8);
-  _end = . ;
-  PROVIDE (end = .) ;
-  .note.netbsd.ident :
-  {
-KEEP(*(.note.netbsd.ident));
-  }
+	.text :
+	{
+		*(.text)
+		*(.text.*)
+		*(.stub)
+	}
+	_etext = . ;
+	PROVIDE (etext = .) ;
+
+	/*
+	 * Push the rodata segment up to the next large page boundary so that we
+	 * can map the text segment with large pages.
+	 */
+	. = ALIGN(__LARGE_PAGE_SIZE);
+
+	__rodata_start = . ;
+	.rodata :
+	{
+		*(.rodata)
+		*(.rodata.*)
+	}
+
+	. = ALIGN(__PAGE_SIZE);
+
+	__data_start = . ;
+	.data :
+	{
+		*(.data)
+	}
+
+	. = ALIGN(COHERENCY_UNIT);
+	.data.cacheline_aligned :
+	{
+		*(.data.cacheline_aligned)
+	}
+	. = ALIGN(COHERENCY_UNIT);
+	.data.read_mostly :
+	{
+		*(.data.read_mostly)
+	}
+	. = ALIGN(COHERENCY_UNIT);
+
+	_edata = . ;
+	PROVIDE (edata = .) ;
+	__bss_start = . ;
+	.bss :
+	{
+		*(.bss)
+		*(.bss.*)
+		*(COMMON)
+		. = ALIGN(32 / 8);
+	}
+
+	. = ALIGN(__PAGE_SIZE);
+
+	/* End of the kernel image */
+	__kernel_end = . ;
+
+	_end = . ;
+	PROVIDE (end = .) ;
+	.note.netbsd.ident :
+	{
+		KEEP(*(.note.netbsd.ident));
+	}
 }
+
 SECTIONS
 {
-  .text :
-  AT (ADDR(.text) & 0x0fff)
-  {
-*(.text)
-  } =0
+	.text :
+	AT (ADDR(.text) & 0x0fff)
+	{
+		*(.text)
+	} = 0
 }



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

2016-05-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 14 08:19:42 UTC 2016

Modified Files:
src/sys/arch/i386/conf: kern.ldscript

Log Message:
Align the segments on i386. We're going to map them independently.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/i386/conf/kern.ldscript

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/i386/conf/kern.ldscript
diff -u src/sys/arch/i386/conf/kern.ldscript:1.18 src/sys/arch/i386/conf/kern.ldscript:1.19
--- src/sys/arch/i386/conf/kern.ldscript:1.18	Fri May 13 10:18:01 2016
+++ src/sys/arch/i386/conf/kern.ldscript	Sat May 14 08:19:42 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern.ldscript,v 1.18 2016/05/13 10:18:01 maxv Exp $	*/
+/*	$NetBSD: kern.ldscript,v 1.19 2016/05/14 08:19:42 maxv Exp $	*/
 
 #include "assym.h"
 
@@ -16,11 +16,7 @@ SECTIONS
 	_etext = . ;
 	PROVIDE (etext = .) ;
 
-	/*
-	 * Adjust the address for the rodata segment.  We want to adjust up to
-	 * the same address within the page on the next page up.
-	 */
-	. = ALIGN(0x1000) + (. & (0x1000 - 1));
+	. = ALIGN(__PAGE_SIZE);
 
 	__rodata_start = . ;
 	.rodata :
@@ -29,6 +25,8 @@ SECTIONS
 		*(.rodata.*)
 	}
 
+	. = ALIGN(__PAGE_SIZE);
+
 	__data_start = . ;
 	.data :
 	{
@@ -55,7 +53,7 @@ SECTIONS
 		*(.bss)
 		*(.bss.*)
 		*(COMMON)
-	. = ALIGN(32 / 8);
+		. = ALIGN(32 / 8);
 	}
 
 	. = ALIGN(__PAGE_SIZE);



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

2016-05-14 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Sat May 14 08:19:42 UTC 2016

Modified Files:
src/sys/arch/i386/conf: kern.ldscript

Log Message:
Align the segments on i386. We're going to map them independently.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/i386/conf/kern.ldscript

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



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

2016-05-13 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Fri May 13 10:18:02 UTC 2016

Modified Files:
src/sys/arch/i386/conf: kern.ldscript

Log Message:
Define __kernel_end.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/i386/conf/kern.ldscript

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/i386/conf/kern.ldscript
diff -u src/sys/arch/i386/conf/kern.ldscript:1.17 src/sys/arch/i386/conf/kern.ldscript:1.18
--- src/sys/arch/i386/conf/kern.ldscript:1.17	Thu May 12 06:45:16 2016
+++ src/sys/arch/i386/conf/kern.ldscript	Fri May 13 10:18:01 2016
@@ -1,11 +1,12 @@
-/*	$NetBSD: kern.ldscript,v 1.17 2016/05/12 06:45:16 maxv Exp $	*/
+/*	$NetBSD: kern.ldscript,v 1.18 2016/05/13 10:18:01 maxv Exp $	*/
 
 #include "assym.h"
 
+__PAGE_SIZE = 0x1000 ;
+
 ENTRY(_start)
 SECTIONS
 {
-	/* Read-only sections, merged into text segment: */
 	.text :
 	{
 		*(.text)
@@ -45,6 +46,7 @@ SECTIONS
 		*(.data.read_mostly)
 	}
 	. = ALIGN(COHERENCY_UNIT);
+
 	_edata = . ;
 	PROVIDE (edata = .) ;
 	__bss_start = . ;
@@ -55,7 +57,12 @@ SECTIONS
 		*(COMMON)
 	. = ALIGN(32 / 8);
 	}
-	. = ALIGN(32 / 8);
+
+	. = ALIGN(__PAGE_SIZE);
+
+	/* End of the kernel image */
+	__kernel_end = . ;
+
 	_end = . ;
 	PROVIDE (end = .) ;
 	.note.netbsd.ident :



  1   2   3   4   5   >