head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.02.20.07.54.26;	author yamt;	state Exp;
branches;
next	;
commitid	FTyHYcb9eFcox5vG;


desc
@@


1.1
log
@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.
@
text
@# $NetBSD$

.include "../Makefile.inc"

.PATH:	${S}/arch/x86/pci

KMOD=	pchtemp
IOCONF=	pchtemp.ioconf
SRCS=	pchtemp.c

.include <bsd.kmodule.mk>
@
