diff options
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 5 | ||||
-rw-r--r-- | sys/dev/i2c/lm78_i2c.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index cc53a4aaf02..e3367fa6215 100644 --- a/sys/dev/i2c/i2c_scan.c +++ b/sys/dev/i2c/i2c_scan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_scan.c,v 1.126 2008/04/22 02:22:54 cnst Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.127 2008/11/03 00:17:47 cnst Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -771,6 +771,9 @@ iic_probe_sensor(struct device *self, u_int8_t addr) case 0x7a: name = "w83792d"; break; + case 0xc1: + name = "w83627dhg"; + break; } } else { /* diff --git a/sys/dev/i2c/lm78_i2c.c b/sys/dev/i2c/lm78_i2c.c index 44017c91954..8f0f7bdfc6f 100644 --- a/sys/dev/i2c/lm78_i2c.c +++ b/sys/dev/i2c/lm78_i2c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lm78_i2c.c,v 1.1 2006/01/28 11:18:41 kettenis Exp $ */ +/* $OpenBSD: lm78_i2c.c,v 1.2 2008/11/03 00:17:47 cnst Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -49,6 +49,7 @@ lm_i2c_match(struct device *parent, void *match, void *aux) struct i2c_attach_args *ia = aux; if (strcmp(ia->ia_name, "as99127f") == 0 || + strcmp(ia->ia_name, "w83627dhg") == 0 || strcmp(ia->ia_name, "w83627hf") == 0 || strcmp(ia->ia_name, "w83781d") == 0 || strcmp(ia->ia_name, "w83782d") == 0 || |