summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2006-07-20 21:23:42 +0000
committerkettenis <kettenis@openbsd.org>2006-07-20 21:23:42 +0000
commitbd3616cdd5478a3a2f6286c5cf18f32cbca58b0b (patch)
treee14ed12032c4248a05d10cb866dace697bdf27f9 /sys/dev/i2c
parentIntroduce a new compiler warning, -Wstack-larger-than-N, to report (diff)
downloadwireguard-openbsd-bd3616cdd5478a3a2f6286c5cf18f32cbca58b0b.tar.xz
wireguard-openbsd-bd3616cdd5478a3a2f6286c5cf18f32cbca58b0b.zip
Add support for Analog Devices ADM1023 (and ADM1021A).
Diffstat (limited to 'sys/dev/i2c')
-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 a0edd51765e..bc1540c20c0 100644
--- a/sys/dev/i2c/adm1021.c
+++ b/sys/dev/i2c/adm1021.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adm1021.c,v 1.23 2006/07/15 19:39:55 kettenis Exp $ */
+/* $OpenBSD: adm1021.c,v 1.24 2006/07/20 21:23:42 kettenis Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -67,6 +67,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, "adm1023") == 0 ||
strcmp(ia->ia_name, "adm1032") == 0 ||
strcmp(ia->ia_name, "g781") == 0 ||
strcmp(ia->ia_name, "g781-1") == 0 ||