summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2016-02-06 12:50:26 +0000
committerkettenis <kettenis@openbsd.org>2016-02-06 12:50:26 +0000
commit8696ffcad7df4172ee682b98e9c67164bb20e2c2 (patch)
treeebce39c832cfa4dc4be96a96301fc8a0d2e00e4a
parentEnable the code that reads the BIOS from the ACPI VFCT table on platforms (diff)
downloadwireguard-openbsd-8696ffcad7df4172ee682b98e9c67164bb20e2c2.tar.xz
wireguard-openbsd-8696ffcad7df4172ee682b98e9c67164bb20e2c2.zip
Add support for the 9 series PCH.
From Dmitri Alenichev.
-rw-r--r--share/man/man4/pchtemp.46
-rw-r--r--sys/dev/pci/pchtemp.c6
2 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man4/pchtemp.4 b/share/man/man4/pchtemp.4
index 7e2afd14912..9fdf1af805c 100644
--- a/share/man/man4/pchtemp.4
+++ b/share/man/man4/pchtemp.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pchtemp.4,v 1.2 2016/01/03 05:48:47 daniel Exp $
+.\" $OpenBSD: pchtemp.4,v 1.3 2016/02/06 12:50:27 kettenis Exp $
.\"
.\" Copyright (c) 2015 Mark Kettenis <kettenis@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 3 2016 $
+.Dd $Mdocdate: February 6 2016 $
.Dt PCHTEMP 4
.Os
.Sh NAME
@@ -26,7 +26,7 @@
The
.Nm
driver provides support for the temperature sensor in the Intel X99,
-C610 series and 100 series platform controller hub (PCH).
+C610 series, 9 series and 100 series platform controller hub (PCH).
.Pp
These sensors provide 0.5 degC resolution.
Sensor values are made available through the
diff --git a/sys/dev/pci/pchtemp.c b/sys/dev/pci/pchtemp.c
index 912a483e517..d8f71ff6dfa 100644
--- a/sys/dev/pci/pchtemp.c
+++ b/sys/dev/pci/pchtemp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pchtemp.c,v 1.2 2016/01/03 05:48:47 daniel Exp $ */
+/* $OpenBSD: pchtemp.c,v 1.3 2016/02/06 12:50:26 kettenis Exp $ */
/*
* Copyright (c) 2015 Mark Kettenis
*
@@ -16,7 +16,8 @@
*/
/*
- * Intel X99, C610 and 100 Series PCH thermal sensor controller driver
+ * Intel X99, C610, 9 Series and 100 Series PCH thermal sensor
+ * controller driver
*/
#include <sys/param.h>
@@ -59,6 +60,7 @@ struct cfattach pchtemp_ca = {
const struct pci_matchid pchtemp_devices[] = {
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_C610_THERM },
+ { PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_9SERIES_LP_THERM },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_100SERIES_THERM },
};