diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-23 20:54:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-23 20:54:25 +0000 |
commit | 34e53442122ea6c4ae4918ef063b56c2a07a77ac (patch) | |
tree | ee42806b9da0640415bcb42991ff948c45e22051 | |
parent | eccef167a5ecb5e1cb49558907e869598ae18a0c (diff) |
oops, 0x31 is as99127f
-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 d58d208aa03..a9283e2b3a3 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.9 2005/12/23 20:51:29 deraadt Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.10 2005/12/23 20:54:24 deraadt Exp $ */ /* * Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org> @@ -236,7 +236,7 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr) name = "w83781d"; else if (fprobeval[Pf_58] == 0x30) name = "w83782d"; - else if (fprobeval[Pf_58] == 0x30) + else if (fprobeval[Pf_58] == 0x31) name = "as99127f"; } } |