summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/i2c/i2c_scan.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c
index fe090c3db49..ce1f63eda2b 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.74 2006/03/07 21:27:52 kettenis Exp $ */
+/* $OpenBSD: i2c_scan.c,v 1.75 2006/03/07 22:36:39 kettenis Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org>
@@ -459,7 +459,13 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr)
case 0x5c: /* SMSC */
if ((addr == 0x2c || addr == 0x2d || addr == 0x2e) &&
(iicprobe(0x3f) & 0xf0) == 0x60)
- name = "emc6d10x"; /* adt7460 compat */
+ name = "emc6d100"; /* adt7460 compat */
+ else if ((addr == 0x2c || addr == 0x2d || addr == 0x2e) &&
+ (iicprobe(0x3f) & 0xf0) == 0x80)
+ name = "sch5017";
+ else if ((addr == 0x2c || addr == 0x2d || addr == 0x2e) &&
+ (iicprobe(0x3f) & 0xf0) == 0xb0)
+ name = "emc6w201";
break;
case 0x02: /* National Semiconductor? */
if ((iicprobe(0x3f) & 0xfc) == 0x04)