Source-Changes-HG archive

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

[src/trunk]: src/sys/dev Add NCT6796D. Some functions of NCT6796D is extended...



details:   https://anonhg.NetBSD.org/src/rev/9ac575599a2e
branches:  trunk
changeset: 321229:9ac575599a2e
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Mar 07 09:25:56 2018 +0000

description:
Add NCT6796D. Some functions of NCT6796D is extended from NCT6795D,
but this commit doesn't support them yet.

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 4bf14d0dc53a -r 9ac575599a2e sys/dev/ic/nslm7x.c
--- a/sys/dev/ic/nslm7x.c       Wed Mar 07 08:25:43 2018 +0000
+++ b/sys/dev/ic/nslm7x.c       Wed Mar 07 09:25:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nslm7x.c,v 1.70 2017/08/18 04:07:51 msaitoh Exp $ */
+/*     $NetBSD: nslm7x.c,v 1.71 2018/03/07 09:25: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.70 2017/08/18 04:07:51 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nslm7x.c,v 1.71 2018/03/07 09:25:56 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2155,6 +2155,7 @@
     { WBSIO_ID_NCT6792D,    "NCT6792D", nct6779d_sensors, NULL },
     { WBSIO_ID_NCT6793D,    "NCT6793D", nct6779d_sensors, NULL },
     { WBSIO_ID_NCT6795D,    "NCT6795D", nct6779d_sensors, NULL },
+    { WBSIO_ID_NCT6796D,    "NCT6796D", nct6779d_sensors, NULL },
     { 0, NULL, NULL, NULL }
 };
 
diff -r 4bf14d0dc53a -r 9ac575599a2e sys/dev/isa/wbsio.c
--- a/sys/dev/isa/wbsio.c       Wed Mar 07 08:25:43 2018 +0000
+++ b/sys/dev/isa/wbsio.c       Wed Mar 07 09:25:56 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: wbsio.c,v 1.22 2018/02/20 01:53:39 pgoyette Exp $      */
+/*     $NetBSD: wbsio.c,v 1.23 2018/03/07 09:25:56 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>
@@ -97,6 +97,7 @@
        { WBSIO_ID_NCT6792D,    true,   "NCT6792D" },
        { WBSIO_ID_NCT6793D,    true,   "NCT6793D" },
        { WBSIO_ID_NCT6795D,    true,   "NCT6795D" },
+       { WBSIO_ID_NCT6796D,    true,   "NCT6796D" },
 };
 
 static const struct wbsio_product *wbsio_lookup(uint8_t id, uint8_t rev);
diff -r 4bf14d0dc53a -r 9ac575599a2e sys/dev/isa/wbsioreg.h
--- a/sys/dev/isa/wbsioreg.h    Wed Mar 07 08:25:43 2018 +0000
+++ b/sys/dev/isa/wbsioreg.h    Wed Mar 07 09:25:56 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wbsioreg.h,v 1.7 2017/12/13 00:27:53 knakahara Exp $ */
+/* $NetBSD: wbsioreg.h,v 1.8 2018/03/07 09:25:56 msaitoh Exp $ */
 
 /* $OpenBSD: wbsioreg.h,v 1.4 2015/01/02 23:02:54 chris Exp $ */
 /*
@@ -70,6 +70,7 @@
 #define WBSIO_ID_NCT6792D      0xc91
 #define WBSIO_ID_NCT6793D      0xd12
 #define WBSIO_ID_NCT6795D      0xd35
+#define WBSIO_ID_NCT6796D      0xd42
 
 /* Strapping Function Result */
 #define WBSIO_SFR_24M48M       0x01



Home | Main Index | Thread Index | Old Index