diff options
-rw-r--r-- | sys/dev/i2c/i2c_scan.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c index 12798041d71..ee4af22695a 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.41 2005/12/30 23:19:51 djm Exp $ */ +/* $OpenBSD: i2c_scan.c,v 1.42 2005/12/31 00:52:42 deraadt Exp $ */ /* * Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org> @@ -477,12 +477,10 @@ iic_probe(struct device *self, struct i2cbus_attach_args *iba, u_int8_t addr) #ifdef I2C_DEBUG printf("%s: addr 0x%x", self->dv_xname, addr); -#if 0 - for (i = 0; i < sizeof(probereg); i++) { - if (iicprobe(probereg[i]) != 0xff) - printf(" %02x=%02x", probereg[i], iicprobe(probereg[i])); - } -#endif +// for (i = 0; i < sizeof(probereg); i++) { +// if (iicprobe(probereg[i]) != 0xff) +// printf(" %02x=%02x", probereg[i], iicprobe(probereg[i])); +// } for (i = 0; i <= 0xff; i++) { if (iicprobe(i) != 0xff) printf(" %02x=%02x", i, iicprobe(i)); |