From 0a5d4277e921d642f0c9ec5d663a2a9cc30e1d24 Mon Sep 17 00:00:00 2001 From: maxv Date: Mon, 31 Jul 2017 15:43:33 +0000 Subject: [PATCH] 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. --- sys/arch/i386/conf/GENERIC | 10 +++++----- sys/arch/i386/conf/GENERIC_TINY | 4 ++-- sys/arch/i386/conf/NET4501 | 10 +++++----- sys/arch/i386/conf/XEN3_DOM0 | 8 ++++---- sys/arch/i386/conf/XEN3_DOMU | 8 ++++---- 5 files changed, 20 insertions(+), 20 deletions(-) diff --git a/sys/arch/i386/conf/GENERIC b/sys/arch/i386/conf/GENERIC index 27f9800823f2..72b601ec72ee 100644 --- a/sys/arch/i386/conf/GENERIC +++ b/sys/arch/i386/conf/GENERIC @@ -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 history editing in DDB 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 diff --git a/sys/arch/i386/conf/GENERIC_TINY b/sys/arch/i386/conf/GENERIC_TINY index 284eb689b6a8..2252b6b12a10 100644 --- a/sys/arch/i386/conf/GENERIC_TINY +++ b/sys/arch/i386/conf/GENERIC_TINY @@ -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 diff --git a/sys/arch/i386/conf/NET4501 b/sys/arch/i386/conf/NET4501 index 598cf41e2c62..54d8866b2881 100644 --- a/sys/arch/i386/conf/NET4501 +++ b/sys/arch/i386/conf/NET4501 @@ -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 history editing in DDB #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 diff --git a/sys/arch/i386/conf/XEN3_DOM0 b/sys/arch/i386/conf/XEN3_DOM0 index 7c160d276475..e9b853c6b093 100644 --- a/sys/arch/i386/conf/XEN3_DOM0 +++ b/sys/arch/i386/conf/XEN3_DOM0 @@ -1,4 +1,4 @@ -# $NetBSD: XEN3_DOM0,v 1.117 2017/07/29 18:08:58 maxv Exp $ +# $NetBSD: XEN3_DOM0,v 1.118 2017/07/31 15:43:33 maxv Exp $ # # XEN3_0: Xen 3.0 domain0 kernel @@ -77,9 +77,9 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB options DDB_COMMANDONENTER="trace;show registers" # Compatibility options -options COMPAT_43 # 4.3BSD, 386BSD, and BSDI -options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI -options COMPAT_09 # NetBSD 0.9, +#options COMPAT_43 # 4.3BSD, 386BSD, and BSDI +#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), diff --git a/sys/arch/i386/conf/XEN3_DOMU b/sys/arch/i386/conf/XEN3_DOMU index 3bcd9feb4f68..1ef524fe916b 100644 --- a/sys/arch/i386/conf/XEN3_DOMU +++ b/sys/arch/i386/conf/XEN3_DOMU @@ -1,4 +1,4 @@ -# $NetBSD: XEN3_DOMU,v 1.81 2017/07/29 18:08:58 maxv Exp $ +# $NetBSD: XEN3_DOMU,v 1.82 2017/07/31 15:43:33 maxv Exp $ include "arch/xen/conf/std.xen" @@ -61,9 +61,9 @@ options DDB_HISTORY_SIZE=512 # enable history editing in DDB options DDB_COMMANDONENTER="trace;show registers" # Compatibility options -options COMPAT_43 # 4.3BSD, 386BSD, and BSDI -options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI -options COMPAT_09 # NetBSD 0.9, +#options COMPAT_43 # 4.3BSD, 386BSD, and BSDI +#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),