Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules Create amdsmn(4) amd amdzentemp(4) modules for X86
details: https://anonhg.NetBSD.org/src/rev/9ec514e320e7
branches: trunk
changeset: 359027:9ec514e320e7
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jan 25 23:40:06 2018 +0000
description:
Create amdsmn(4) amd amdzentemp(4) modules for X86
diffstat:
sys/modules/Makefile | 4 +++-
sys/modules/amdsmn/Makefile | 13 +++++++++++++
sys/modules/amdsmn/amdsmn.ioconf | 11 +++++++++++
sys/modules/amdzentemp/Makefile | 13 +++++++++++++
sys/modules/amdzentemp/amdzentemp.ioconf | 11 +++++++++++
5 files changed, 51 insertions(+), 1 deletions(-)
diffs (83 lines):
diff -r bb76b803971f -r 9ec514e320e7 sys/modules/Makefile
--- a/sys/modules/Makefile Thu Jan 25 23:37:33 2018 +0000
+++ b/sys/modules/Makefile Thu Jan 25 23:40:06 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.198 2018/01/09 03:31:13 christos Exp $
+# $NetBSD: Makefile,v 1.199 2018/01/25 23:40:06 pgoyette Exp $
.include <bsd.own.mk>
@@ -181,7 +181,9 @@
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "x86_64"
+SUBDIR+= amdsmn
SUBDIR+= amdtemp
+SUBDIR+= amdzentemp
SUBDIR+= coretemp
SUBDIR+= est
SUBDIR+= hdafg
diff -r bb76b803971f -r 9ec514e320e7 sys/modules/amdsmn/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/amdsmn/Makefile Thu Jan 25 23:40:06 2018 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2018/01/25 23:40:06 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/arch/x86/pci
+
+KMOD= amdsmn
+IOCONF= amdsmn.ioconf
+SRCS= amdsmn.c
+
+WARNS= 4
+
+.include <bsd.kmodule.mk>
diff -r bb76b803971f -r 9ec514e320e7 sys/modules/amdsmn/amdsmn.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/amdsmn/amdsmn.ioconf Thu Jan 25 23:40:06 2018 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: amdsmn.ioconf,v 1.1 2018/01/25 23:40:06 pgoyette Exp $
+
+ioconf amdsmn
+
+include "conf/files"
+include "dev/pci/files.pci"
+include "arch/x86/pci/files.pci"
+
+pseudo-root pci*
+
+amdsmn* at pci?
diff -r bb76b803971f -r 9ec514e320e7 sys/modules/amdzentemp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/amdzentemp/Makefile Thu Jan 25 23:40:06 2018 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2018/01/25 23:40:06 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/arch/x86/pci
+
+KMOD= amdzentemp
+IOCONF= amdzentemp.ioconf
+SRCS= amdzentemp.c
+
+WARNS= 4
+
+.include <bsd.kmodule.mk>
diff -r bb76b803971f -r 9ec514e320e7 sys/modules/amdzentemp/amdzentemp.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/amdzentemp/amdzentemp.ioconf Thu Jan 25 23:40:06 2018 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: amdzentemp.ioconf,v 1.1 2018/01/25 23:40:06 pgoyette Exp $
+
+ioconf amdzentemp
+
+include "conf/files"
+include "dev/pci/files.pci"
+include "arch/x86/pci/files.pci"
+
+pseudo-root amdsmn*
+
+amdzentemp* at amdsmn?
Home |
Main Index |
Thread Index |
Old Index