diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-12-28 05:04:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-12-28 05:04:39 +0000 |
commit | 9300643b1fd7b4deadca89da4d58a5b8debb934d (patch) | |
tree | 24d2b1c708f256f6a16a2078f1a4b78413e3152c /sys/dev/i2c/i2c_scan.c | |
parent | fa5989e93dadf4c4259fb99782a792cfcfc04779 (diff) |
correct id for 2nd type of stts424e02; from cnst
Diffstat (limited to 'sys/dev/i2c/i2c_scan.c')
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index 5235b2a5671..9b213eb9977 100644 --- a/sys/dev/i2c/i2c_scan.c +++ b/sys/dev/i2c/i2c_scan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i2c_scan.c,v 1.134 2009/08/12 14:51:20 cnst Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.135 2009/12/28 05:04:38 deraadt Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -877,7 +877,7 @@ iic_probe_sensor(struct device *self, u_int8_t addr) name = "adt7408"; } else if ((addr & 0x78) == 0x18 && iicprobew(0x06) == 0x104a && (iicprobew(0x07) & 0xfffe) == 0x0000 && - (iicprobew(0x00) == 0x002d || iicprobew(0x00) == 0x002e)) { + (iicprobew(0x00) == 0x002d || iicprobew(0x00) == 0x002f)) { name = "stts424e02"; } else if ((addr & 0x78) == 0x18 && iicprobew(0x06) == 0x1b09 && (iicprobew(0x07) & 0xffe0) == 0x0800 && |