summaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile3
-rw-r--r--sys/modules/amdtemp/Makefile13
-rw-r--r--sys/modules/amdtemp/amdtemp.ioconf11
3 files changed, 26 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 5f4cdcd4c3d..62828311999 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2011/04/14 15:45:27 yamt Exp $
+# $NetBSD: Makefile,v 1.71 2011/06/15 03:22:40 jruoho Exp $
.include <bsd.own.mk>
@@ -89,6 +89,7 @@ SUBDIR+= exec_elf64
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64"
+SUBDIR+= amdtemp
SUBDIR+= coretemp
SUBDIR+= est
SUBDIR+= odcm
diff --git a/sys/modules/amdtemp/Makefile b/sys/modules/amdtemp/Makefile
new file mode 100644
index 00000000000..79751f4d4e1
--- /dev/null
+++ b/sys/modules/amdtemp/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2011/06/15 03:22:40 jruoho Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/arch/x86/pci
+
+KMOD= amdtemp
+IOCONF= amdtemp.ioconf
+SRCS= amdtemp.c
+
+WARNS= 4
+
+.include <bsd.kmodule.mk>
diff --git a/sys/modules/amdtemp/amdtemp.ioconf b/sys/modules/amdtemp/amdtemp.ioconf
new file mode 100644
index 00000000000..4da00656d8f
--- /dev/null
+++ b/sys/modules/amdtemp/amdtemp.ioconf
@@ -0,0 +1,11 @@
+# $NetBSD: amdtemp.ioconf,v 1.1 2011/06/15 03:22:40 jruoho Exp $
+
+ioconf amdtemp
+
+include "conf/files"
+include "dev/pci/files.pci"
+include "arch/x86/pci/files.pci"
+
+pseudo-root pci*
+
+amdtemp* at pci? dev ? function ?