summaryrefslogtreecommitdiff
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-01-09 22:41:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-01-09 22:41:40 +0000
commit0fb37d9004ceee00bd2dcf64f806299cfcf13866 (patch)
treeaa88b28fc70cedc90f5dbdc967f5ebefc36a67dd /sys/dev/i2c
parentcec12a8162cdcec53b7178cb95b29d9d1681a782 (diff)
Remove debug message.
ok deraadt@
Diffstat (limited to 'sys/dev/i2c')
-rw-r--r--sys/dev/i2c/lm_i2c.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/i2c/lm_i2c.c b/sys/dev/i2c/lm_i2c.c
index 548defc4971..5bdfadd0c36 100644
--- a/sys/dev/i2c/lm_i2c.c
+++ b/sys/dev/i2c/lm_i2c.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lm_i2c.c,v 1.5 2005/12/30 09:45:20 kettenis Exp $ */
+/* $OpenBSD: lm_i2c.c,v 1.6 2006/01/09 22:41:39 kettenis Exp $ */
/*
* Copyright (c) 2005 Mark Kettenis
@@ -78,7 +78,6 @@ lm_i2c_attach(struct device *parent, struct device *self, void *aux)
/* Bus-independent attachment. */
sc->sc_lmsc.lm_writereg = lm_i2c_writereg;
sc->sc_lmsc.lm_readreg = lm_i2c_readreg;
-
lm_attach(&sc->sc_lmsc);
iic_acquire_bus(sc->sc_tag, 0);
@@ -89,9 +88,7 @@ lm_i2c_attach(struct device *parent, struct device *self, void *aux)
iic_release_bus(sc->sc_tag, 0);
- printf("%s: satellites at addr 0x%x and addr 0x%x\n",
- sc->sc_lmsc.sc_dev.dv_xname,
- 0x48 + (data & 0x7), 0x48 + ((data >> 4) & 0x7));
+ /* Make the bus scan ignore the satellites. */
iic_ignore_addr(0x48 + (data & 0x7));
iic_ignore_addr(0x48 + ((data >> 4) & 0x7));
}