Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Add another pair of chips to the pile: IDT TS30...



details:   https://anonhg.NetBSD.org/src/rev/9d6af969021f
branches:  trunk
changeset: 756312:9d6af969021f
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Jul 11 15:16:41 2010 +0000

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

diffstat:

 sys/dev/i2c/sdtemp.c     |  6 ++++--
 sys/dev/i2c/sdtemp_reg.h |  6 +++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 85cf5913d728 -r 9d6af969021f sys/dev/i2c/sdtemp.c
--- a/sys/dev/i2c/sdtemp.c      Sun Jul 11 13:26:38 2010 +0000
+++ b/sys/dev/i2c/sdtemp.c      Sun Jul 11 15:16:41 2010 +0000
@@ -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" }
 };
 
diff -r 85cf5913d728 -r 9d6af969021f sys/dev/i2c/sdtemp_reg.h
--- a/sys/dev/i2c/sdtemp_reg.h  Sun Jul 11 13:26:38 2010 +0000
+++ b/sys/dev/i2c/sdtemp_reg.h  Sun Jul 11 15:16:41 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index