summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/i2c/i2c_scan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c
index 39ea0e63b9a..2ec008ccd3b 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.93 2006/11/19 16:40:02 kettenis Exp $ */
+/* $OpenBSD: i2c_scan.c,v 1.94 2006/12/25 21:25:39 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org>
@@ -465,6 +465,9 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr)
else if ((addr == 0x2c || addr == 0x2d || addr == 0x2e) &&
iicprobe(0x3d) == 0x76)
name = "adt7476";
+ else if ((addr == 0x2c || addr == 0x2d || addr == 0x2e) &&
+ iicprobe(0x3d) == 0x75)
+ name = "adt7475";
else if (iicprobe(0x3d) == 0x27 &&
(iicprobe(0x3f) == 0x60 || iicprobe(0x3f) == 0x6a))
name = "adm1027"; /* complete check */