From 6f15a9e57a500d1174ad4bf67eef510c3a8219ad Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Sat, 12 Apr 2008 14:20:22 +0000 Subject: [PATCH] Connect k8temp(4) to the build. --- sys/amd64/conf/NOTES | 2 ++ sys/conf/files.amd64 | 1 + sys/modules/Makefile | 2 ++ sys/modules/k8temp/Makefile | 8 ++++++++ 4 files changed, 13 insertions(+) create mode 100644 sys/modules/k8temp/Makefile diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES index 9be763e7beaf..642f87af2139 100644 --- a/sys/amd64/conf/NOTES +++ b/sys/amd64/conf/NOTES @@ -444,8 +444,10 @@ device ichwd # Temperature sensors: # # coretemp: on-die sensor on Intel Core and newer CPUs +# k8temp: on-die sensor on AMD K8 CPUs # device coretemp +device k8temp #--------------------------------------------------------------------------- # ISDN4BSD diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index be5b6766c08d..782890be02cd 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -189,6 +189,7 @@ dev/hptrr/hptrr_config.c optional hptrr dev/hwpmc/hwpmc_amd.c optional hwpmc dev/hwpmc/hwpmc_piv.c optional hwpmc dev/hwpmc/hwpmc_x86.c optional hwpmc +dev/k8temp/k8temp.c optional k8temp dev/kbd/kbd.c optional atkbd | sc | ukbd dev/mem/memutil.c optional mem dev/nfe/if_nfe.c optional nfe pci diff --git a/sys/modules/Makefile b/sys/modules/Makefile index a8f2e0f01a0a..249042f6ebcf 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -140,6 +140,7 @@ SUBDIR= ${_3dfx} \ ${_iwifw} \ ${_ixgb} \ joy \ + ${_k8temp} \ kbdmux \ krpc \ kue \ @@ -533,6 +534,7 @@ _ips= ips _ipw= ipw _ipwfw= ipwfw _ixgb= ixgb +_k8temp= k8temp _linprocfs= linprocfs _linsysfs= linsysfs _linux= linux diff --git a/sys/modules/k8temp/Makefile b/sys/modules/k8temp/Makefile new file mode 100644 index 000000000000..32909ad506b8 --- /dev/null +++ b/sys/modules/k8temp/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../dev/k8temp + +KMOD= k8temp +SRCS= k8temp.c bus_if.h device_if.h pci_if.h + +.include