diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-09-03 19:04:44 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-09-03 19:04:44 +0000 |
commit | 89e88596eb44c3959012f9ccc16d04419a753ab9 (patch) | |
tree | 2205051555ab51910ab8ddc667650521c2a7b369 /sys/dev/i2c/i2c_scan.c | |
parent | c3d28c8a11bafb08a8c272642c7164f87fc4a8d0 (diff) |
Recognize Andigilog aSC7621.
ok deraadt@
Diffstat (limited to 'sys/dev/i2c/i2c_scan.c')
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index 1c2ff678124..05e28728173 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.97 2007/04/10 17:47:55 miod Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.98 2007/09/03 19:04:43 kettenis Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -561,6 +561,11 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr) (iicprobe(0x3f) & 0xf0) == 0xb0) name = "emc6w201"; break; + case 0x61: /* Andigilog */ + if ((addr == 0x2c || addr == 0x2d || addr == 0x2e) && + iicprobe(0x3f) == 0x6c) + name = "asc7621"; + break; case 0xa1: /* Philips */ if ((iicprobe(0x3f) & 0xf0) == 0x20 && (iicprobe(0x40) & 0x80) == 0x00 && |