summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/i2c_scan.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-31 18:34:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-31 18:34:27 +0000
commite75c51a72c1dc865babe529a285bb17287d9e8cb (patch)
tree92a9e9b92567f2719579a5aaef0f23c7e9713487 /sys/dev/i2c/i2c_scan.c
parentd62e20be0f512e01a49b194b04a94156d376535f (diff)
we do not look at the proberegs anymore, always full dumps
Diffstat (limited to 'sys/dev/i2c/i2c_scan.c')
-rw-r--r--sys/dev/i2c/i2c_scan.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/i2c/i2c_scan.c b/sys/dev/i2c/i2c_scan.c
index 39e83ced596..981f7cde825 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.45 2005/12/31 18:26:11 deraadt Exp $ */
+/* $OpenBSD: i2c_scan.c,v 1.46 2005/12/31 18:34:26 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt <deraadt@openbsd.org>
@@ -44,14 +44,6 @@ struct {
#define MAX_IGNORE 8
u_int8_t ignore_addrs[MAX_IGNORE];
-/* registers to print if we fail to probe */
-// u_int8_t probereg[] = {
-// 0x00, 0x01, 0x02, 0x03, 0x07,
-// 0x3d, 0x3e, 0x3f,
-// 0x4c, 0x4d, 0x4e, 0x4f,
-// 0x58, 0xfe, 0xff
-//};
-
/*
* Some Maxim 1617 clones MAY NOT even read cmd 0xfc! When it is
* read, they will power-on-reset. Their default condition