summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2022-12-16 00:02:28 +0000
committermsaitoh <msaitoh@NetBSD.org>2022-12-16 00:02:28 +0000
commit7551bd496712e062fa05ebe55ed1f70223c46bfc (patch)
treef27522864f9aad0845a9fab611327e4ac1dad7e2 /sys/dev
parent3b7feb4a15a7a2431ab401ba0b64bcbca401b8a6 (diff)
lm(4): Add Nuvoton NCT6797D support.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/nslm7x.c5
-rw-r--r--sys/dev/isa/wbsio.c3
-rw-r--r--sys/dev/isa/wbsioreg.h3
3 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/ic/nslm7x.c b/sys/dev/ic/nslm7x.c
index 469837e0d32..119ee6d2aab 100644
--- a/sys/dev/ic/nslm7x.c
+++ b/sys/dev/ic/nslm7x.c
@@ -1,4 +1,4 @@
-/* $NetBSD: nslm7x.c,v 1.78 2022/10/01 07:22:56 msaitoh Exp $ */
+/* $NetBSD: nslm7x.c,v 1.79 2022/12/16 00:02:28 msaitoh Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.78 2022/10/01 07:22:56 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.79 2022/12/16 00:02:28 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -2156,6 +2156,7 @@ static const struct wb_product wbsio_products[] = {
{ WBSIO_ID_NCT6793D, "NCT6793D", nct6779d_sensors, NULL },
{ WBSIO_ID_NCT6795D, "NCT6795D", nct6779d_sensors, NULL },
{ WBSIO_ID_NCT6796D, "NCT6796D", nct6779d_sensors, NULL },
+ { WBSIO_ID_NCT6797D, "NCT6797D", nct6779d_sensors, NULL },
{ WBSIO_ID_NCT6798D, "NCT6798D", nct6779d_sensors, NULL },
{ WBSIO_ID_NCT6799D, "NCT6799D", nct6779d_sensors, NULL },
{ 0, NULL, NULL, NULL }
diff --git a/sys/dev/isa/wbsio.c b/sys/dev/isa/wbsio.c
index 7f7e6aa4032..690595e4992 100644
--- a/sys/dev/isa/wbsio.c
+++ b/sys/dev/isa/wbsio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wbsio.c,v 1.29 2022/11/02 20:38:22 andvar Exp $ */
+/* $NetBSD: wbsio.c,v 1.30 2022/12/16 00:02:28 msaitoh Exp $ */
/* $OpenBSD: wbsio.c,v 1.10 2015/03/14 03:38:47 jsg Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
@@ -98,6 +98,7 @@ static const struct wbsio_product {
{ WBSIO_ID_NCT6793D, 12, "NCT6793D" },
{ WBSIO_ID_NCT6795D, 12, "NCT6795D" },
{ WBSIO_ID_NCT6796D, 13, "NCT6796D" },
+ { WBSIO_ID_NCT6797D, 13, "NCT6797D" },
{ WBSIO_ID_NCT6798D, 13, "NCT6798D" },
{ WBSIO_ID_NCT6799D, 13, "NCT6799D" },
};
diff --git a/sys/dev/isa/wbsioreg.h b/sys/dev/isa/wbsioreg.h
index 6e55e5e4053..b73a0f563e8 100644
--- a/sys/dev/isa/wbsioreg.h
+++ b/sys/dev/isa/wbsioreg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: wbsioreg.h,v 1.10 2022/10/01 07:22:55 msaitoh Exp $ */
+/* $NetBSD: wbsioreg.h,v 1.11 2022/12/16 00:02:28 msaitoh Exp $ */
/* $OpenBSD: wbsioreg.h,v 1.4 2015/01/02 23:02:54 chris Exp $ */
/*
@@ -71,6 +71,7 @@
#define WBSIO_ID_NCT6793D 0xd12
#define WBSIO_ID_NCT6795D 0xd35
#define WBSIO_ID_NCT6796D 0xd420 /* 13bits */
+#define WBSIO_ID_NCT6797D 0xd450
#define WBSIO_ID_NCT6798D 0xd428
#define WBSIO_ID_NCT6799D 0xd800