Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Add Nuvoton NCT6799D support.



details:   https://anonhg.NetBSD.org/src/rev/204bc474e198
branches:  trunk
changeset: 371235:204bc474e198
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sat Oct 01 07:22:55 2022 +0000

description:
Add Nuvoton NCT6799D support.

diffstat:

 sys/dev/ic/nslm7x.c    |  5 +++--
 sys/dev/isa/wbsio.c    |  3 ++-
 sys/dev/isa/wbsioreg.h |  3 ++-
 3 files changed, 7 insertions(+), 4 deletions(-)

diffs (60 lines):

diff -r dd6b0a0fd4ff -r 204bc474e198 sys/dev/ic/nslm7x.c
--- a/sys/dev/ic/nslm7x.c       Fri Sep 30 14:32:45 2022 +0000
+++ b/sys/dev/ic/nslm7x.c       Sat Oct 01 07:22:55 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nslm7x.c,v 1.77 2022/08/01 14:44:15 mlelstv Exp $ */
+/*     $NetBSD: nslm7x.c,v 1.78 2022/10/01 07:22:56 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.77 2022/08/01 14:44:15 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.78 2022/10/01 07:22:56 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2157,6 +2157,7 @@
     { WBSIO_ID_NCT6795D,    "NCT6795D", nct6779d_sensors, NULL },
     { WBSIO_ID_NCT6796D,    "NCT6796D", nct6779d_sensors, NULL },
     { WBSIO_ID_NCT6798D,    "NCT6798D", nct6779d_sensors, NULL },
+    { WBSIO_ID_NCT6799D,    "NCT6799D", nct6779d_sensors, NULL },
     { 0, NULL, NULL, NULL }
 };
 
diff -r dd6b0a0fd4ff -r 204bc474e198 sys/dev/isa/wbsio.c
--- a/sys/dev/isa/wbsio.c       Fri Sep 30 14:32:45 2022 +0000
+++ b/sys/dev/isa/wbsio.c       Sat Oct 01 07:22:55 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wbsio.c,v 1.27 2021/08/07 16:19:12 thorpej Exp $       */
+/*     $NetBSD: wbsio.c,v 1.28 2022/10/01 07:22:55 msaitoh Exp $       */
 /*     $OpenBSD: wbsio.c,v 1.10 2015/03/14 03:38:47 jsg Exp $  */
 /*
  * Copyright (c) 2008 Mark Kettenis <kettenis%openbsd.org@localhost>
@@ -99,6 +99,7 @@
        { WBSIO_ID_NCT6795D,    12,     "NCT6795D" },
        { WBSIO_ID_NCT6796D,    13,     "NCT6796D" },
        { WBSIO_ID_NCT6798D,    13,     "NCT6798D" },
+       { WBSIO_ID_NCT6799D,    13,     "NCT6799D" },
 };
 
 static const struct wbsio_product *wbsio_lookup(uint8_t id, uint8_t rev);
diff -r dd6b0a0fd4ff -r 204bc474e198 sys/dev/isa/wbsioreg.h
--- a/sys/dev/isa/wbsioreg.h    Fri Sep 30 14:32:45 2022 +0000
+++ b/sys/dev/isa/wbsioreg.h    Sat Oct 01 07:22:55 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wbsioreg.h,v 1.9 2019/07/10 16:23:55 msaitoh Exp $ */
+/* $NetBSD: wbsioreg.h,v 1.10 2022/10/01 07:22:55 msaitoh Exp $ */
 
 /* $OpenBSD: wbsioreg.h,v 1.4 2015/01/02 23:02:54 chris Exp $ */
 /*
@@ -72,6 +72,7 @@
 #define WBSIO_ID_NCT6795D      0xd35
 #define WBSIO_ID_NCT6796D      0xd420  /* 13bits */
 #define WBSIO_ID_NCT6798D      0xd428
+#define WBSIO_ID_NCT6799D      0xd800
 
 /* Make the above WBSIO_ID_* vaue from WBSIO_ID, WBSIO_REV and IDbits */
 #define WBSIO_MAKEID(id, rev, bits)                                    \



Home | Main Index | Thread Index | Old Index