summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2007-05-31 23:37:22 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2007-05-31 23:37:22 +0000
commit7658f69a33dbd51f339fe6cffbbb117b9f01126c (patch)
tree5fe7be3d135a158ceb444ce05dd0c39e29fa18e5 /sys
parent0ff1a9d83372f3380c1e741420632fec00b85bb3 (diff)
don't print debug messages
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sdmmc/sbt.c17
-rw-r--r--sys/dev/sdmmc/sdhc.c3
2 files changed, 2 insertions, 18 deletions
diff --git a/sys/dev/sdmmc/sbt.c b/sys/dev/sdmmc/sbt.c
index 9810ca6e038..c4a3ad1566b 100644
--- a/sys/dev/sdmmc/sbt.c
+++ b/sys/dev/sdmmc/sbt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbt.c,v 1.2 2007/05/31 23:28:30 uwe Exp $ */
+/* $OpenBSD: sbt.c,v 1.3 2007/05/31 23:37:21 uwe Exp $ */
/*
* Copyright (c) 2007 Uwe Stuehler <uwe@openbsd.org>
@@ -66,7 +66,6 @@ int sbt_detach(struct device *, int);
int sbt_write_packet(struct sbt_softc *, u_char *, size_t);
int sbt_read_packet(struct sbt_softc *, u_char *, size_t *);
-int sbt_intr_pending(struct sbt_softc *);
int sbt_intr(void *);
int sbt_enable(struct hci_unit *);
@@ -278,15 +277,6 @@ again:
*/
int
-sbt_intr_pending(struct sbt_softc *sc)
-{
- u_char val = CSR_READ_1(sc, SBT_REG_ISTAT);
- if (val != 0)
- printf("sbt_intr_pending %x\n", val);
- return val != 0;
-}
-
-int
sbt_intr(void *arg)
{
struct sbt_softc *sc = arg;
@@ -299,7 +289,6 @@ sbt_intr(void *arg)
status = CSR_READ_1(sc, SBT_REG_ISTAT);
CSR_WRITE_1(sc, SBT_REG_ICLR, status);
- printf("sbt_intr status=0x%x\n");
if ((status & ISTAT_INTRD) == 0)
return 0; /* shared SDIO card interrupt? */
@@ -347,8 +336,6 @@ eoi:
int
sbt_enable(struct hci_unit *unit)
{
- printf("sbt_enable\n");
-
if (unit->hci_flags & BTF_RUNNING)
return 0;
@@ -360,8 +347,6 @@ sbt_enable(struct hci_unit *unit)
void
sbt_disable(struct hci_unit *unit)
{
- printf("sbt_disable\n");
-
if (!(unit->hci_flags & BTF_RUNNING))
return;
diff --git a/sys/dev/sdmmc/sdhc.c b/sys/dev/sdmmc/sdhc.c
index e6183c79c43..295d0ce5047 100644
--- a/sys/dev/sdmmc/sdhc.c
+++ b/sys/dev/sdmmc/sdhc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhc.c,v 1.20 2007/05/31 10:09:01 uwe Exp $ */
+/* $OpenBSD: sdhc.c,v 1.21 2007/05/31 23:37:21 uwe Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -521,7 +521,6 @@ sdhc_card_intr_mask(sdmmc_chipset_handle_t sch, int enable)
{
struct sdhc_host *hp = sch;
- printf("sdhc_card_intr_mask enable=%d\n", enable);
if (enable) {
HSET2(hp, SDHC_NINTR_STATUS_EN, SDHC_CARD_INTERRUPT);
HSET2(hp, SDHC_NINTR_SIGNAL_EN, SDHC_CARD_INTERRUPT);