Module Name:    src
Committed By:   pgoyette
Date:           Sun Jul 11 15:16:41 UTC 2010

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

Log Message:
Add another pair of chips to the pile:  IDT TS3000B3 & TSE2002B3


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/dev/i2c/sdtemp.c
cvs rdiff -u -r1.3 -r1.4 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.14 src/sys/dev/i2c/sdtemp.c:1.15
--- src/sys/dev/i2c/sdtemp.c:1.14	Thu Jul  8 23:27:17 2010
+++ src/sys/dev/i2c/sdtemp.c	Sun Jul 11 15:16:41 2010
@@ -1,4 +1,4 @@
-/*      $NetBSD: sdtemp.c,v 1.14 2010/07/08 23:27:17 pgoyette Exp $        */
+/*      $NetBSD: sdtemp.c,v 1.15 2010/07/11 15:16:41 pgoyette Exp $        */
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.14 2010/07/08 23:27:17 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdtemp.c,v 1.15 2010/07/11 15:16:41 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -120,6 +120,8 @@
 	"STmicroelectronics STTS424" }, 
     { CAT_MANUFACTURER_ID,   CAT_34TS02_DEVICE_ID,  CAT_34TS02_MASK, 4,
 	"Catalyst CAT34TS02/CAT6095" },
+    { 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.3 src/sys/dev/i2c/sdtemp_reg.h:1.4
--- src/sys/dev/i2c/sdtemp_reg.h:1.3	Thu Jul  8 23:27:17 2010
+++ src/sys/dev/i2c/sdtemp_reg.h	Sun Jul 11 15:16:41 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: sdtemp_reg.h,v 1.3 2010/07/08 23:27:17 pgoyette Exp $	*/
+/*	$NetBSD: sdtemp_reg.h,v 1.4 2010/07/11 15:16:41 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -115,6 +115,10 @@
 #define	ADT_7408_DEVICE_ID		0x8001
 #define	ADT_7408_MASK			0xFFFF
 
+#define	IDT_MANFUFACTUR_ID		0x00B3
+#define	IDT_TS3000B3_DEVICE_ID		0x2903	/* Also matches TSE2002B3 */
+#define	IDT_TS3000B3_MASK		0xFFFF
+
 #define	STTS_MANUFACTURER_ID		0x104A
 #define	STTS_424_DEVICE_ID		0x0101
 #define	STTS_424_MASK			0xFFFF

Reply via email to