diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-04-01 01:10:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-04-01 01:10:50 +0000 |
commit | 0bce43736788c6f530e4b4d9487fa5cc5c5228c2 (patch) | |
tree | f2c65a67249828ff86672ce89bb096e8277d80fa /sys/dev/i2c/i2c_scan.c | |
parent | ad545ce20ca354f031894f304a4e38556a2c6818 (diff) |
only need 8 words to learn about i2c spd jc-42.4 sensors
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 ce7cba81143..181f785b914 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.114 2008/03/27 05:46:09 cnst Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.115 2008/04/01 01:10:49 deraadt Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -439,7 +439,7 @@ iic_dump(struct device *dv, u_int8_t addr, char *name) printf(" %02x=%02x", i, iicprobe(i)); } printf(" words", dv->dv_xname, addr); - for (i = 0; i < 16; i++) + for (i = 0; i < 8; i++) printf(" %02x=%04x", i, iicprobew(i)); if (name) printf(": %s", name); |