summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-13 00:13:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-01-13 00:13:02 +0000
commit46279949ace402f3c3c6bdd137f22ee3b4659f53 (patch)
tree88acb0470b55553cc21943225250462090e6cabc /sys/dev
parenta7cfbb247acfb0934e64ffce27b6d4e197519964 (diff)
ds1624 and ds1721 too, horrid horrid horrid chips
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/ds1631.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/i2c/ds1631.c b/sys/dev/i2c/ds1631.c
index 333e2e50259..703e063a8c7 100644
--- a/sys/dev/i2c/ds1631.c
+++ b/sys/dev/i2c/ds1631.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ds1631.c,v 1.2 2005/12/27 17:18:18 deraadt Exp $ */
+/* $OpenBSD: ds1631.c,v 1.3 2006/01/13 00:13:01 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -55,7 +55,9 @@ maxds_match(struct device *parent, void *match, void *aux)
{
struct i2c_attach_args *ia = aux;
- if (strcmp(ia->ia_name, "ds1631") == 0)
+ if (strcmp(ia->ia_name, "ds1631") == 0 ||
+ strcmp(ia->ia_name, "ds1624") == 0 ||
+ strcmp(ia->ia_name, "ds1721") == 0)
return (1);
return (0);
}