summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2006-01-13 00:13:01 +0000
committerderaadt <deraadt@openbsd.org>2006-01-13 00:13:01 +0000
commit854971a2ca871944cb29de72ab52a199f8002cc4 (patch)
tree6153f285f1f0c6d6158709855113aadb3ef6291c
parentGarbage collect lm_probe. (diff)
downloadwireguard-openbsd-854971a2ca871944cb29de72ab52a199f8002cc4.tar.xz
wireguard-openbsd-854971a2ca871944cb29de72ab52a199f8002cc4.zip
ds1624 and ds1721 too, horrid horrid horrid chips
-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);
}