summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-01-18 21:53:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-01-18 21:53:23 +0000
commit7cc1380dd1c3ed5fc6869c91e7c7824f5e1dc944 (patch)
treea782cf0b5963bd36d1973143cebcb052634d71ea /sys/dev/i2c
parentcda8555cd2832d9efaed207126f42de7e4f1dac5 (diff)
Fix typo; w83l785ts-l has chip ID 0x70.
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/i2c_scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c
index 9280a6e3b85..064d45b2e9b 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.60 2006/01/17 21:21:56 kettenis Exp $ */
+/* $OpenBSD: i2c_scan.c,v 1.61 2006/01/18 21:53:22 kettenis Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org>
@@ -541,7 +541,7 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr)
} else if (addr == 0x2d && iicprobe(0x4e) == 0x60 &&
iicprobe(0x4c) == 0xa3 && iicprobe(0x4d) == 0x5c) {
name = "w83l785r";
- } else if (addr == 0x2e && iicprobe(0x4e) == 0x50 &&
+ } else if (addr == 0x2e && iicprobe(0x4e) == 0x70 &&
iicprobe(0x4c) == 0xa3 && iicprobe(0x4d) == 0x5c) {
name = "w83l785ts-l";
} else if (addr >= 0x28 && addr <= 0x2f &&