tech-kern archive

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

Build and include hdaudio & hdafg as modules



Now that Jared has modularized the hdaudio and hdafg drivers, is there any reason that we should not be building the modules by default?

And is there any reason why they should not be removed from i386/GENERIC and amd64/GENERIC (and, of course, added to i386/MONOLITHIC)?

Patch attached.

-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
Index: distrib/sets/lists/modules/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/modules/mi,v
retrieving revision 1.21
diff -u -p -r1.21 mi
--- distrib/sets/lists/modules/mi       26 Feb 2011 18:07:15 -0000      1.21
+++ distrib/sets/lists/modules/mi       28 May 2011 13:18:18 -0000
@@ -52,6 +52,10 @@
 ./@MODULEDIR@/flash/flash.kmod                 base-kernel-modules     kmod
 ./@MODULEDIR@/fss                              base-kernel-modules     kmod
 ./@MODULEDIR@/fss/fss.kmod                     base-kernel-modules     kmod
+./@MODULEDIR@/hdafg                            base-kernel-modules     kmod
+./@MODULEDIR@/hdafg/hdafg.kmod                 base-kernel-modules     kmod
+./@MODULEDIR@/hdaudio                          base-kernel-modules     kmod
+./@MODULEDIR@/hdaudio/hdaudio.kmod             base-kernel-modules     kmod
 ./@MODULEDIR@/hfs                              base-kernel-modules     kmod
 ./@MODULEDIR@/hfs/hfs.kmod                     base-kernel-modules     kmod
 ./@MODULEDIR@/kernfs                           base-kernel-modules     kmod
Index: sys/arch/amd64/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/amd64/conf/GENERIC,v
retrieving revision 1.318
diff -u -p -r1.318 GENERIC
--- sys/arch/amd64/conf/GENERIC 1 Apr 2011 12:11:17 -0000       1.318
+++ sys/arch/amd64/conf/GENERIC 28 May 2011 13:18:30 -0000
@@ -992,8 +992,8 @@ opl*        at fms?
 opl*   at sv?
 
 # High Definition Audio
-hdaudio*       at pci? dev ? function ?        # High Definition Audio
-hdafg*         at hdaudiobus?
+#hdaudio*      at pci? dev ? function ?        # High Definition Audio
+#hdafg*                at hdaudiobus?
 
 # Audio support
 audio* at audiobus?
Index: sys/arch/i386/conf/GENERIC
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/GENERIC,v
retrieving revision 1.1032
diff -u -p -r1.1032 GENERIC
--- sys/arch/i386/conf/GENERIC  28 May 2011 13:01:49 -0000      1.1032
+++ sys/arch/i386/conf/GENERIC  28 May 2011 13:18:38 -0000
@@ -1369,8 +1369,8 @@ opl*      at yds?
 opl*   at ym?
 
 # High Definition Audio
-hdaudio*       at pci? dev ? function ?        # High Definition Audio
-hdafg*         at hdaudiobus?
+#hdaudio*      at pci? dev ? function ?        # High Definition Audio
+#hdafg*                at hdaudiobus?
 
 # Audio support
 audio* at audiobus?
Index: sys/arch/i386/conf/MONOLITHIC
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/conf/MONOLITHIC,v
retrieving revision 1.15
diff -u -p -r1.15 MONOLITHIC
--- sys/arch/i386/conf/MONOLITHIC       6 Mar 2011 17:08:26 -0000       1.15
+++ sys/arch/i386/conf/MONOLITHIC       28 May 2011 13:18:45 -0000
@@ -66,3 +66,7 @@ pseudo-device putter          # for puffs and pu
 pseudo-device  pad             # pseudo audio device driver
 
 pseudo-device  dm              # device-mapper device driver
+
+# High Definition Audio
+hdaudio*       at pci? dev ? function ?        # High Definition Audio  
+hdafg*         at hdaudiobus?
Index: sys/modules/Makefile
===================================================================
RCS file: /cvsroot/src/sys/modules/Makefile,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile
--- sys/modules/Makefile        14 Apr 2011 15:45:27 -0000      1.70
+++ sys/modules/Makefile        28 May 2011 13:18:50 -0000
@@ -23,6 +23,8 @@ SUBDIR+=      ffs
 SUBDIR+=       filecore
 SUBDIR+=       flash
 SUBDIR+=       fss
+SUBDIR+=       hdafg
+SUBDIR+=       hdaudio
 SUBDIR+=       hfs
 SUBDIR+=       kernfs
 SUBDIR+=       ksem


Home | Main Index | Thread Index | Old Index