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 Catalyst CAT34TS02C support.
details: https://anonhg.NetBSD.org/src/rev/a0110f4cd79b
branches: trunk
changeset: 808499:a0110f4cd79b
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed May 20 00:43:28 2015 +0000
description:
Add Catalyst CAT34TS02C support.
diffstat:
sys/dev/i2c/sdtemp.c | 6 ++++--
sys/dev/i2c/sdtemp_reg.h | 4 +++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 084c498f9f66 -r a0110f4cd79b sys/dev/i2c/sdtemp.c
--- a/sys/dev/i2c/sdtemp.c Wed May 20 00:05:53 2015 +0000
+++ b/sys/dev/i2c/sdtemp.c Wed May 20 00:43:28 2015 +0000
@@ -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 @@
"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" }
diff -r 084c498f9f66 -r a0110f4cd79b sys/dev/i2c/sdtemp_reg.h
--- a/sys/dev/i2c/sdtemp_reg.h Wed May 20 00:05:53 2015 +0000
+++ b/sys/dev/i2c/sdtemp_reg.h Wed May 20 00:43:28 2015 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index