diff options
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index 0d739da4a29..6078245715c 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.91 2006/11/01 22:24:20 deraadt Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.92 2006/11/19 16:16:22 kettenis Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -792,6 +792,10 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr) name = "it8712f-a"; /* sis950 too */ } + if (name == NULL && iicprobe(0x48) == addr && + (iicprobe(0x40) & 0x80) == 0x00 && iicprobe(0x58) == 0xac) + name = "mtp008"; + if (name == NULL) { name = adm1032cloneprobe(addr); if (name) |