Source-Changes-HG archive

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

[src/trunk]: src Add module build glue for odcm(4).



details:   https://anonhg.NetBSD.org/src/rev/2ad9403f61ee
branches:  trunk
changeset: 762871:2ad9403f61ee
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Mar 04 05:02:47 2011 +0000

description:
Add module build glue for odcm(4).

diffstat:

 distrib/sets/lists/modules/md.amd64 |   4 +++-
 distrib/sets/lists/modules/md.i386  |   4 +++-
 sys/modules/Makefile                |   3 ++-
 sys/modules/odcm/Makefile           |  13 +++++++++++++
 sys/modules/odcm/odcm.ioconf        |  10 ++++++++++
 5 files changed, 31 insertions(+), 3 deletions(-)

diffs (84 lines):

diff -r 2640c6551e11 -r 2ad9403f61ee distrib/sets/lists/modules/md.amd64
--- a/distrib/sets/lists/modules/md.amd64       Fri Mar 04 04:55:51 2011 +0000
+++ b/distrib/sets/lists/modules/md.amd64       Fri Mar 04 05:02:47 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.18 2011/02/24 11:22:35 jruoho Exp $
+# $NetBSD: md.amd64,v 1.19 2011/03/04 05:02:48 jruoho Exp $
 ./@MODULEDIR@/acpiacad                         base-kernel-modules     kmod
 ./@MODULEDIR@/acpiacad/acpiacad.kmod           base-kernel-modules     kmod
 ./@MODULEDIR@/acpibat                          base-kernel-modules     kmod
@@ -59,6 +59,8 @@
 ./@MODULEDIR@/hpqlb/hpqlb.kmod                 base-kernel-modules     kmod
 ./@MODULEDIR@/i915drm                          base-kernel-modules     kmod
 ./@MODULEDIR@/i915drm/i915drm.kmod             base-kernel-modules     kmod
+./@MODULEDIR@/odcm                             base-kernel-modules     kmod
+./@MODULEDIR@/odcm/odcm.kmod                   base-kernel-modules     kmod
 ./@MODULEDIR@/pad                              base-kernel-modules     kmod
 ./@MODULEDIR@/pad/pad.kmod                     base-kernel-modules     kmod
 ./@MODULEDIR@/powernow                         base-kernel-modules     kmod
diff -r 2640c6551e11 -r 2ad9403f61ee distrib/sets/lists/modules/md.i386
--- a/distrib/sets/lists/modules/md.i386        Fri Mar 04 04:55:51 2011 +0000
+++ b/distrib/sets/lists/modules/md.i386        Fri Mar 04 05:02:47 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.22 2011/02/24 14:08:51 jruoho Exp $
+# $NetBSD: md.i386,v 1.23 2011/03/04 05:02:48 jruoho Exp $
 ./@MODULEDIR@/acpiacad                         base-kernel-modules     kmod
 ./@MODULEDIR@/acpiacad/acpiacad.kmod           base-kernel-modules     kmod
 ./@MODULEDIR@/acpibat                          base-kernel-modules     kmod
@@ -63,6 +63,8 @@
 ./@MODULEDIR@/i915drm/i915drm.kmod             base-kernel-modules     kmod
 ./@MODULEDIR@/radeondrm                                base-kernel-modules     kmod
 ./@MODULEDIR@/radeondrm/radeondrm.kmod         base-kernel-modules     kmod
+./@MODULEDIR@/odcm                             base-kernel-modules     kmod
+./@MODULEDIR@/odcm/odcm.kmod                   base-kernel-modules     kmod
 ./@MODULEDIR@/pad                              base-kernel-modules     kmod
 ./@MODULEDIR@/pad/pad.kmod                     base-kernel-modules     kmod
 ./@MODULEDIR@/padlock                          base-kernel-modules     kmod
diff -r 2640c6551e11 -r 2ad9403f61ee sys/modules/Makefile
--- a/sys/modules/Makefile      Fri Mar 04 04:55:51 2011 +0000
+++ b/sys/modules/Makefile      Fri Mar 04 05:02:47 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.68 2011/02/26 18:07:31 ahoka Exp $
+#      $NetBSD: Makefile,v 1.69 2011/03/04 05:02:47 jruoho Exp $
 
 .include <bsd.own.mk>
 
@@ -91,6 +91,7 @@
     ${MACHINE_ARCH} == "x86_64"
 SUBDIR+=       coretemp
 SUBDIR+=       est
+SUBDIR+=       odcm
 SUBDIR+=       powernow
 SUBDIR+=       tprof_pmi
 #SUBDIR+=      tprof_amdpmi
diff -r 2640c6551e11 -r 2ad9403f61ee sys/modules/odcm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/odcm/Makefile Fri Mar 04 05:02:47 2011 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2011/03/04 05:02:47 jruoho Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/arch/x86/x86
+
+KMOD=  odcm
+IOCONF=        odcm.ioconf
+SRCS=  odcm.c
+
+WARNS= 4
+
+.include <bsd.kmodule.mk>
diff -r 2640c6551e11 -r 2ad9403f61ee sys/modules/odcm/odcm.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/odcm/odcm.ioconf      Fri Mar 04 05:02:47 2011 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: odcm.ioconf,v 1.1 2011/03/04 05:02:47 jruoho Exp $
+
+ioconf odcm
+
+include "conf/files"
+include "arch/x86/conf/files.x86"
+
+pseudo-root cpufeaturebus*
+
+odcm0 at cpufeaturebus?



Home | Main Index | Thread Index | Old Index