diff options
| author | jruoho <jruoho@NetBSD.org> | 2011-06-15 03:22:39 +0000 |
|---|---|---|
| committer | jruoho <jruoho@NetBSD.org> | 2011-06-15 03:22:39 +0000 |
| commit | 8fb7e0d1928d5886c349beff9cdcdd98bc372fba (patch) | |
| tree | e618af74ec822ce9a8aae472c616a2c1f38b58a0 /sys/modules | |
| parent | 54c2ddfbd71b2b3416d5a7773aa30c75020b44e6 (diff) | |
Modularize amdtemp(4).
Diffstat (limited to 'sys/modules')
| -rw-r--r-- | sys/modules/Makefile | 3 | ||||
| -rw-r--r-- | sys/modules/amdtemp/Makefile | 13 | ||||
| -rw-r--r-- | sys/modules/amdtemp/amdtemp.ioconf | 11 |
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 ? |
