Module Name:    src
Committed By:   msaitoh
Date:           Wed May 20 00:43:28 UTC 2015

Modified Files:
        src/sys/dev/i2c: sdtemp.c sdtemp_reg.h

Log Message:
 Add Catalyst CAT34TS02C support.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/dev/i2c/sdtemp.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/i2c/sdtemp_reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/i2c/sdtemp.c
diff -u src/sys/dev/i2c/sdtemp.c:1.25 src/sys/dev/i2c/sdtemp.c:1.26
--- src/sys/dev/i2c/sdtemp.c:1.25	Thu Apr 23 23:23:00 2015
+++ src/sys/dev/i2c/sdtemp.c	Wed May 20 00:43:28 2015
@@ -1,4 +1,4 @@
-/*      $NetBSD: sdtemp.c,v 1.25 2015/04/23 23:23:00 pgoyette Exp $        */
+/*      $NetBSD: sdtemp.c,v 1.26 2015/05/20 00:43:28 msaitoh Exp $        */
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.25 2015/04/23 23:23:00 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.26 2015/05/20 00:43:28 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -128,6 +128,8 @@ sdtemp_dev_table[] = {
 	"STmicroelectronics STTS3000" }, 
     { CAT_MANUFACTURER_ID,   CAT_34TS02_DEVICE_ID,  CAT_34TS02_MASK, 4,
 	"Catalyst CAT34TS02/CAT6095" },
+    { CAT_MANUFACTURER_ID,   CAT_34TS02C_DEVICE_ID,  CAT_34TS02C_MASK, 4,
+	"Catalyst CAT34TS02C" },
     { IDT_MANUFACTURER_ID,   IDT_TS3000B3_DEVICE_ID, IDT_TS3000B3_MASK, 4,
 	"Integrated Device Technology TS3000B3/TSE2002B3" },
     { 0, 0, 0, 2, "Unknown" }

Index: src/sys/dev/i2c/sdtemp_reg.h
diff -u src/sys/dev/i2c/sdtemp_reg.h:1.7 src/sys/dev/i2c/sdtemp_reg.h:1.8
--- src/sys/dev/i2c/sdtemp_reg.h:1.7	Thu Jan  9 16:51:05 2014
+++ src/sys/dev/i2c/sdtemp_reg.h	Wed May 20 00:43:28 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdtemp_reg.h,v 1.7 2014/01/09 16:51:05 mlelstv Exp $	*/
+/*	$NetBSD: sdtemp_reg.h,v 1.8 2015/05/20 00:43:28 msaitoh Exp $	*/
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -136,5 +136,7 @@
 #define	CAT_MANUFACTURER_ID		0x1B09
 #define	CAT_34TS02_DEVICE_ID		0x0800
 #define	CAT_34TS02_MASK			0xFFE0
+#define	CAT_34TS02C_DEVICE_ID		0x0a00
+#define	CAT_34TS02C_MASK		0xFFFF
 
 #endif	/* _DEV_I2C_SDTEMPREG_H */

Reply via email to