diff options
author | 2009-12-28 05:04:38 +0000 | |
---|---|---|
committer | 2009-12-28 05:04:38 +0000 | |
commit | 5061e512dfd4035d5b25992b32454abedde76152 (patch) | |
tree | 01c999e264e0577ed847739dc858e7b84de84d9a | |
parent | Sanity check flags in fork1(), banning some combos we don't support (diff) | |
download | wireguard-openbsd-5061e512dfd4035d5b25992b32454abedde76152.tar.xz wireguard-openbsd-5061e512dfd4035d5b25992b32454abedde76152.zip |
correct id for 2nd type of stts424e02; from cnst
-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 && |