summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/adm1021.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-28 23:06:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-28 23:06:15 +0000
commit50063d65a2d790d71c482c6be8f1222648ec57c5 (patch)
treec3e0b9a3ce76822625c7fcccb23e0531c259558e /sys/dev/i2c/adm1021.c
parentc7df4e835cbedfe9f42af5d6e4c3fc01d708dc79 (diff)
probe for adm1032, a stupid stupid adm1021
Diffstat (limited to 'sys/dev/i2c/adm1021.c')
-rw-r--r--sys/dev/i2c/adm1021.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/i2c/adm1021.c b/sys/dev/i2c/adm1021.c
index 99d54f89c7e..771c1cf8a41 100644
--- a/sys/dev/i2c/adm1021.c
+++ b/sys/dev/i2c/adm1021.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adm1021.c,v 1.15 2005/12/27 23:03:04 deraadt Exp $ */
+/* $OpenBSD: adm1021.c,v 1.16 2005/12/28 23:06:14 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -65,6 +65,7 @@ admtemp_match(struct device *parent, void *match, void *aux)
struct i2c_attach_args *ia = aux;
if (strcmp(ia->ia_name, "adm1021") == 0 ||
+ strcmp(ia->ia_name, "adm1032") == 0 ||
strcmp(ia->ia_name, "xeontemp") == 0 ||
strcmp(ia->ia_name, "maxim1617") == 0)
return (1);