diff options
| author | 2011-10-07 06:29:43 +0000 | |
|---|---|---|
| committer | 2011-10-07 06:29:43 +0000 | |
| commit | 305d50225060b9644e42452e778d1853151f13a3 (patch) | |
| tree | 2be59b6a27ba31e4be0efdcf16ba25e603f0527f /sys/dev/i2c/sdtemp.c | |
| parent | Interface cable for Yaesu ham radios, ok deraadt (diff) | |
| download | wireguard-openbsd-305d50225060b9644e42452e778d1853151f13a3.tar.xz wireguard-openbsd-305d50225060b9644e42452e778d1853151f13a3.zip | |
Detect the ts3000b3 and stts2002, and weaken the cat34ts02 model check
since a similar device (not yet named as far as I can see) has showed up
on the market. cat34ts02 tested by weerd.
Diffstat (limited to 'sys/dev/i2c/sdtemp.c')
| -rw-r--r-- | sys/dev/i2c/sdtemp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/i2c/sdtemp.c b/sys/dev/i2c/sdtemp.c index 99599f1038b..48b7bc5d25d 100644 --- a/sys/dev/i2c/sdtemp.c +++ b/sys/dev/i2c/sdtemp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdtemp.c,v 1.12 2010/07/09 08:05:45 deraadt Exp $ */ +/* $OpenBSD: sdtemp.c,v 1.13 2011/10/07 06:29:43 deraadt Exp $ */ /* * Copyright (c) 2008 Theo de Raadt @@ -65,6 +65,8 @@ sdtemp_match(struct device *parent, void *match, void *aux) strcmp(ia->ia_name, "adt7408") == 0 || strcmp(ia->ia_name, "stts424e02") == 0 || strcmp(ia->ia_name, "stts424") == 0 || + strcmp(ia->ia_name, "stts2002") == 0 || + strcmp(ia->ia_name, "ts3000b3") == 0 || strcmp(ia->ia_name, "cat34ts02") == 0) return (1); return (0); |
