Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch remove compat_ossaudio from kernel modules



details:   https://anonhg.NetBSD.org/src/rev/ce76aa8c24f8
branches:  trunk
changeset: 958800:ce76aa8c24f8
user:      nia <nia%NetBSD.org@localhost>
date:      Wed Jan 20 13:22:07 2021 +0000

description:
remove compat_ossaudio from kernel modules

this is only useful with compat_linux and gets autoloaded when
compat_linux is loaded, so there's no reason to bake it into kernels
any more.

diffstat:

 sys/arch/amd64/conf/GENERIC           |  5 ++---
 sys/arch/amd64/conf/MODULAR           |  3 +--
 sys/arch/amd64/conf/XEN3_DOM0         |  5 ++---
 sys/arch/amd64/conf/XEN3_DOMU         |  5 ++---
 sys/arch/evbarm/conf/OPENBLOCKS_AX3   |  4 +---
 sys/arch/i386/conf/GENERIC            |  6 ++----
 sys/arch/i386/conf/MODULAR            |  6 +-----
 sys/arch/i386/conf/XEN3PAE_DOM0       |  4 +---
 sys/arch/i386/conf/XEN3PAE_DOMU       |  4 +---
 sys/arch/landisk/conf/GENERIC         |  5 ++---
 sys/arch/usermode/conf/GENERIC.common |  5 ++---
 sys/arch/zaurus/conf/GENERIC          |  3 +--
 12 files changed, 18 insertions(+), 37 deletions(-)

diffs (262 lines):

diff -r c752a803096c -r ce76aa8c24f8 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.581 2021/01/16 01:43:42 thorpej Exp $
+# $NetBSD: GENERIC,v 1.582 2021/01/20 13:22:08 nia Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.581 $"
+#ident         "GENERIC-$Revision: 1.582 $"
 
 maxusers       64              # estimated number of users
 
@@ -178,7 +178,6 @@
 
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options        COMPAT_OSSAUDIO
 options        COMPAT_NETBSD32
 options        EXEC_ELF32
 
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/amd64/conf/MODULAR
--- a/sys/arch/amd64/conf/MODULAR       Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/amd64/conf/MODULAR       Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MODULAR,v 1.18 2020/10/19 19:33:01 christos Exp $
+# $NetBSD: MODULAR,v 1.19 2021/01/20 13:22:08 nia Exp $
 #
 # Try to exclude all the drivers in GENERIC that have been modularized
 # XXX: incomplete
@@ -26,7 +26,6 @@
 -no options    COMPAT_43       # and 4.3BSD
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
--no options    COMPAT_OSSAUDIO
 -no options    COMPAT_NETBSD32
 -no options    EXEC_ELF32
 -no options    COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/amd64/conf/XEN3_DOM0
--- a/sys/arch/amd64/conf/XEN3_DOM0     Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOM0     Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOM0,v 1.185 2020/09/27 13:48:49 roy Exp $
+# $NetBSD: XEN3_DOM0,v 1.186 2021/01/20 13:22:08 nia Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -12,7 +12,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOM0-$Revision: 1.185 $"
+#ident         "XEN3_DOM0-$Revision: 1.186 $"
 
 maxusers       32              # estimated number of users
 
@@ -69,7 +69,6 @@
 include        "conf/compat_netbsd15.config"
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options        COMPAT_OSSAUDIO
 options        COMPAT_NETBSD32
 options        EXEC_ELF32
 
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/amd64/conf/XEN3_DOMU
--- a/sys/arch/amd64/conf/XEN3_DOMU     Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/amd64/conf/XEN3_DOMU     Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3_DOMU,v 1.96 2020/09/27 13:48:49 roy Exp $
+# $NetBSD: XEN3_DOMU,v 1.97 2021/01/20 13:22:08 nia Exp $
 
 include        "arch/amd64/conf/std.xen"
 
@@ -11,7 +11,7 @@
 #options       UVMHIST_PRINT
 #options       SYSCALL_DEBUG
 
-#ident         "XEN3_DOMU-$Revision: 1.96 $"
+#ident         "XEN3_DOMU-$Revision: 1.97 $"
 
 maxusers       32              # estimated number of users
 
@@ -59,7 +59,6 @@
 include        "conf/compat_netbsd15.config"
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options        COMPAT_OSSAUDIO
 options        COMPAT_NETBSD32
 options        EXEC_ELF32
 
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/evbarm/conf/OPENBLOCKS_AX3
--- a/sys/arch/evbarm/conf/OPENBLOCKS_AX3       Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/evbarm/conf/OPENBLOCKS_AX3       Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: OPENBLOCKS_AX3,v 1.34 2020/09/27 13:48:50 roy Exp $
+#      $NetBSD: OPENBLOCKS_AX3,v 1.35 2021/01/20 13:22:08 nia Exp $
 #
 #      OPENBLOCKS_AX3 -- Plat'Home. OpenBlockS AX3 kernel
 #
@@ -94,8 +94,6 @@
 include        "conf/compat_netbsd50.config"
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
 
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-
 # Shared memory options
 
 options        SYSVMSG         # System V-like message queues
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/i386/conf/GENERIC        Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1233 2020/09/27 13:48:51 roy Exp $
+# $NetBSD: GENERIC,v 1.1234 2021/01/20 13:22:08 nia Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.1233 $"
+#ident         "GENERIC-$Revision: 1.1234 $"
 
 maxusers       64              # estimated number of users
 
@@ -144,8 +144,6 @@
 include        "conf/compat_netbsd09.config"
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-
 # Wedge support
 options        DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
 options        DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/i386/conf/MODULAR
--- a/sys/arch/i386/conf/MODULAR        Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/i386/conf/MODULAR        Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MODULAR,v 1.7 2020/08/16 10:27:47 jdolecek Exp $
+# $NetBSD: MODULAR,v 1.8 2021/01/20 13:22:08 nia Exp $
 #
 # MODULAR kernel
 # This kernel config prefers loading kernel drivers from file system.
@@ -12,10 +12,6 @@
 no options     MQUEUE          # POSIX messsage queues, built as a module
 no options     NFSSERVER       # Network File System server
 
-# compatibility options, built as modules
-#
-no options     COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-
 # build non boot critical file systems as modules
 #
 no file-system EXT2FS          # second extended file system (linux)
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/i386/conf/XEN3PAE_DOM0
--- a/sys/arch/i386/conf/XEN3PAE_DOM0   Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/i386/conf/XEN3PAE_DOM0   Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: XEN3PAE_DOM0,v 1.33 2020/09/27 13:48:51 roy Exp $
+#      $NetBSD: XEN3PAE_DOM0,v 1.34 2021/01/20 13:22:08 nia Exp $
 #
 #      XEN3_0: Xen 3.0 domain0 kernel
 
@@ -82,8 +82,6 @@
 options        COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-
 # Wedge support
 options        DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
 options        DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/i386/conf/XEN3PAE_DOMU
--- a/sys/arch/i386/conf/XEN3PAE_DOMU   Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/i386/conf/XEN3PAE_DOMU   Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: XEN3PAE_DOMU,v 1.16 2020/09/27 13:48:51 roy Exp $
+# $NetBSD: XEN3PAE_DOMU,v 1.17 2021/01/20 13:22:08 nia Exp $
 
 include        "arch/i386/conf/std.xen"
 
@@ -66,8 +66,6 @@
 options        COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
 #options       COMPAT_386BSD_MBRPART # recognize old partition ID
 
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-
 # Wedge support
 options        DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
 options        DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/landisk/conf/GENERIC
--- a/sys/arch/landisk/conf/GENERIC     Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/landisk/conf/GENERIC     Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.69 2020/09/27 13:48:52 roy Exp $
+# $NetBSD: GENERIC,v 1.70 2021/01/20 13:22:08 nia Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options         INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident          "GENERIC-$Revision: 1.69 $"
+#ident          "GENERIC-$Revision: 1.70 $"
 
 maxusers       16              # estimated number of users
 
@@ -80,7 +80,6 @@
 
 # Compatibility options
 include        "conf/compat_netbsd16.config"
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
 
 # Executable format options
 options        EXEC_COFF       # COFF executables
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/usermode/conf/GENERIC.common
--- a/sys/arch/usermode/conf/GENERIC.common     Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/usermode/conf/GENERIC.common     Wed Jan 20 13:22:07 2021 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: GENERIC.common,v 1.28 2018/06/05 20:02:42 reinoud Exp $
+# $NetBSD: GENERIC.common,v 1.29 2021/01/20 13:22:08 nia Exp $
 
 include "arch/usermode/conf/std.usermode"
 
 options        INCLUDE_CONFIG_FILE
-#ident                 "GENERIC-$Revision: 1.28 $"
+#ident                 "GENERIC-$Revision: 1.29 $"
 maxusers       32
 
 makeoptions    DEBUG="-O1 -g3"
@@ -29,7 +29,6 @@
 #options       UVMHIST_PRINT
 
 include        "conf/compat_netbsd50.config"
-options        COMPAT_OSSAUDIO
 
 file-system    FFS
 file-system    MFS
diff -r c752a803096c -r ce76aa8c24f8 sys/arch/zaurus/conf/GENERIC
--- a/sys/arch/zaurus/conf/GENERIC      Wed Jan 20 10:26:43 2021 +0000
+++ b/sys/arch/zaurus/conf/GENERIC      Wed Jan 20 13:22:07 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.90 2020/03/25 17:06:19 jdolecek Exp $
+#      $NetBSD: GENERIC,v 1.91 2021/01/20 13:22:07 nia Exp $
 #
 # GENERIC machine description file
 #
@@ -90,7 +90,6 @@
 # Compatibility options
 include        "conf/compat_netbsd13.config"
 options        COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
 
 # Wedge support
 options        DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances



Home | Main Index | Thread Index | Old Index