diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-12-25 21:25:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-12-25 21:25:40 +0000 |
commit | d36669ce14211a956c7eb37f0b7b8cf4887ffae1 (patch) | |
tree | bf95501605189bc16507b2cdd319d541048b29a5 /sys/dev/i2c/i2c_scan.c | |
parent | 91e9b7e89bb24524b493f977523807a0fa07cea6 (diff) |
identify adt7475
Diffstat (limited to 'sys/dev/i2c/i2c_scan.c')
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 5 |
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 */ |