Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src build wmi drivers as modules on x86
details: https://anonhg.NetBSD.org/src/rev/d436c74791b0
branches: trunk
changeset: 758176:d436c74791b0
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Oct 24 16:31:35 2010 +0000
description:
build wmi drivers as modules on x86
diffstat:
distrib/sets/lists/modules/md.amd64 | 8 +++++++-
distrib/sets/lists/modules/md.i386 | 8 +++++++-
sys/modules/Makefile | 9 ++++++++-
sys/modules/wmidell/Makefile | 10 ++++++++++
sys/modules/wmihp/Makefile | 10 ++++++++++
sys/modules/wmimsi/Makefile | 10 ++++++++++
6 files changed, 52 insertions(+), 3 deletions(-)
diffs (103 lines):
diff -r b2d17667885d -r d436c74791b0 distrib/sets/lists/modules/md.amd64
--- a/distrib/sets/lists/modules/md.amd64 Sun Oct 24 16:25:31 2010 +0000
+++ b/distrib/sets/lists/modules/md.amd64 Sun Oct 24 16:31:35 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.amd64,v 1.3 2010/05/31 20:32:28 pgoyette Exp $
+# $NetBSD: md.amd64,v 1.4 2010/10/24 16:31:35 jmcneill Exp $
./@MODULEDIR@/acpiverbose base-kernel-modules kmod
./@MODULEDIR@/acpiverbose/acpiverbose.kmod base-kernel-modules kmod
./@MODULEDIR@/azalia base-kernel-modules kmod
@@ -21,3 +21,9 @@
./@MODULEDIR@/pad/pad.kmod base-kernel-modules kmod
./@MODULEDIR@/tprof_pmi base-kernel-modules kmod
./@MODULEDIR@/tprof_pmi/tprof_pmi.kmod base-kernel-modules kmod
+./@MODULEDIR@/wmidell base-kernel-modules kmod
+./@MODULEDIR@/wmidell/wmidell.kmod base-kernel-modules kmod
+./@MODULEDIR@/wmihp base-kernel-modules kmod
+./@MODULEDIR@/wmihp/wmihp.kmod base-kernel-modules kmod
+./@MODULEDIR@/wmimsi base-kernel-modules kmod
+./@MODULEDIR@/wmimsi/wmimsi.kmod base-kernel-modules kmod
diff -r b2d17667885d -r d436c74791b0 distrib/sets/lists/modules/md.i386
--- a/distrib/sets/lists/modules/md.i386 Sun Oct 24 16:25:31 2010 +0000
+++ b/distrib/sets/lists/modules/md.i386 Sun Oct 24 16:31:35 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: md.i386,v 1.4 2010/05/31 20:32:28 pgoyette Exp $
+# $NetBSD: md.i386,v 1.5 2010/10/24 16:31:35 jmcneill Exp $
./@MODULEDIR@/acpiverbose base-kernel-modules kmod
./@MODULEDIR@/acpiverbose/acpiverbose.kmod base-kernel-modules kmod
./@MODULEDIR@/azalia base-kernel-modules kmod
@@ -27,3 +27,9 @@
./@MODULEDIR@/tprof_pmi/tprof_pmi.kmod base-kernel-modules kmod
./@MODULEDIR@/viadrm base-kernel-modules kmod
./@MODULEDIR@/viadrm/viadrm.kmod base-kernel-modules kmod
+./@MODULEDIR@/wmidell base-kernel-modules kmod
+./@MODULEDIR@/wmidell/wmidell.kmod base-kernel-modules kmod
+./@MODULEDIR@/wmihp base-kernel-modules kmod
+./@MODULEDIR@/wmihp/wmihp.kmod base-kernel-modules kmod
+./@MODULEDIR@/wmimsi base-kernel-modules kmod
+./@MODULEDIR@/wmimsi/wmimsi.kmod base-kernel-modules kmod
diff -r b2d17667885d -r d436c74791b0 sys/modules/Makefile
--- a/sys/modules/Makefile Sun Oct 24 16:25:31 2010 +0000
+++ b/sys/modules/Makefile Sun Oct 24 16:31:35 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2010/10/20 14:50:22 tsutsui Exp $
+# $NetBSD: Makefile,v 1.50 2010/10/24 16:31:35 jmcneill Exp $
.include <bsd.own.mk>
@@ -95,6 +95,13 @@
SUBDIR+= acpiverbose
.endif
+.if ${MACHINE_ARCH} == "i386" || \
+ ${MACHINE_ARCH} == "x86_64"
+SUBDIR+= wmidell
+SUBDIR+= wmihp
+SUBDIR+= wmimsi
+.endif
+
.if ${MACHINE_ARCH} == "x86_64"
SUBDIR+= azalia
SUBDIR+= compat_linux
diff -r b2d17667885d -r d436c74791b0 sys/modules/wmidell/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/wmidell/Makefile Sun Oct 24 16:31:35 2010 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2010/10/24 16:31:36 jmcneill Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/acpi/wmi
+
+KMOD= wmidell
+SRCS= wmi_dell.c
+
+.include <bsd.kmodule.mk>
diff -r b2d17667885d -r d436c74791b0 sys/modules/wmihp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/wmihp/Makefile Sun Oct 24 16:31:35 2010 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2010/10/24 16:31:36 jmcneill Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/acpi/wmi
+
+KMOD= wmihp
+SRCS= wmi_hp.c
+
+.include <bsd.kmodule.mk>
diff -r b2d17667885d -r d436c74791b0 sys/modules/wmimsi/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/wmimsi/Makefile Sun Oct 24 16:31:35 2010 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: Makefile,v 1.1 2010/10/24 16:31:36 jmcneill Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/acpi/wmi
+
+KMOD= wmimsi
+SRCS= wmi_msi.c
+
+.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index