diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-01-17 22:02:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-01-17 22:02:52 +0000 |
commit | ea43e25f43eac73d1e98558b0275de61bb86d231 (patch) | |
tree | 8c248f8dceccc85ee96b54a4b30897bbc191e51a | |
parent | 5faac2ac3fb23189be66c76e16ecc5df9d131ad3 (diff) |
Match "w83791sd".
-rw-r--r-- | sys/dev/i2c/lm_i2c.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/i2c/lm_i2c.c b/sys/dev/i2c/lm_i2c.c index 8cf2b4a1071..62e838e3701 100644 --- a/sys/dev/i2c/lm_i2c.c +++ b/sys/dev/i2c/lm_i2c.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lm_i2c.c,v 1.8 2006/01/15 22:03:17 kettenis Exp $ */ +/* $OpenBSD: lm_i2c.c,v 1.9 2006/01/17 22:02:51 kettenis Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -47,19 +47,19 @@ lm_i2c_match(struct device *parent, void *match, void *aux) struct i2c_attach_args *ia = aux; if (strcmp(ia->ia_name, "as99127f") == 0 || + strcmp(ia->ia_name, "w83627hf") == 0 || + strcmp(ia->ia_name, "w83781d") == 0 || + strcmp(ia->ia_name, "w83782d") == 0 || strcmp(ia->ia_name, "w83783s") == 0 || strcmp(ia->ia_name, "w83791d") == 0 || strcmp(ia->ia_name, "w83792d") == 0) { return (1); } /* - * XXX These chips also have an ISA bus interface and are - * likely to attach twice. That's ok for now, but we should - * probably disable these. + * XXX This chip doesn't have any real sensors, but we match + * it for now, just to knock out its satellites. */ - if (strcmp(ia->ia_name, "w83781d") == 0 || - strcmp(ia->ia_name, "w83782d") == 0 || - strcmp(ia->ia_name, "w83627hf") == 0) { + if (strcmp(ia->ia_name, "w83791sd") == 0) { return (1); } return (0); |