CVS commit: src

"YAMAMOTO Takashi" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	yamt
Date:		Fri Feb 20 07:54:27 UTC 2026

Modified Files:
	src/distrib/sets/lists/debug: module.md.amd64 module.md.i386
	src/distrib/sets/lists/man: mi
	src/distrib/sets/lists/manhtml: mi
	src/distrib/sets/lists/modules: md.amd64 md.i386
	src/share/man/man4: Makefile
	src/sys/arch/amd64/conf: ALL GENERIC XEN3_DOM0
	src/sys/arch/i386/conf: ALL GENERIC XEN3PAE_DOM0
	src/sys/arch/x86/pci: files.pci
	src/sys/modules: Makefile
	src/usr.sbin/makemandb: nostem.txt
Added Files:
	src/share/man/man4: pchtemp.4
	src/sys/arch/x86/pci: pchtemp.c
	src/sys/modules/pchtemp: Makefile pchtemp.ioconf

Log Message:
pchtemp: add a simple driver for intel pch thermal sensor

tested on PCI_PRODUCT_INTEL_2HS_THERM, which was found on HP Z4 G4.
although other variants look compatible, i have not actually tested them.
(no hardware)

dmesg:
```
[   512.596379] pchtemp0 at pci0 dev 20 function 2: Intel PCH Temperature Sensor
```

envstat:
```
[pchtemp0]
  pchtemp0 temperature:    41.500                                      degC
```

enable in kernel configs where amdtemp is enabled.

the man page is mostly copy-and-paste from amdtemp.4.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/distrib/sets/lists/debug/module.md.amd64
cvs rdiff -u -r1.12 -r1.13 src/distrib/sets/lists/debug/module.md.i386
cvs rdiff -u -r1.1830 -r1.1831 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.48 -r1.49 src/distrib/sets/lists/manhtml/mi
cvs rdiff -u -r1.104 -r1.105 src/distrib/sets/lists/modules/md.amd64
cvs rdiff -u -r1.101 -r1.102 src/distrib/sets/lists/modules/md.i386
cvs rdiff -u -r1.750 -r1.751 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/pchtemp.4
cvs rdiff -u -r1.196 -r1.197 src/sys/arch/amd64/conf/ALL
cvs rdiff -u -r1.620 -r1.621 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.207 -r1.208 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.524 -r1.525 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1261 -r1.1262 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/i386/conf/XEN3PAE_DOM0
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x86/pci/files.pci
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/pci/pchtemp.c
cvs rdiff -u -r1.299 -r1.300 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/pchtemp/Makefile \
    src/sys/modules/pchtemp/pchtemp.ioconf
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/makemandb/nostem.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.