From ac447782605e71129819a854aac18d3c73e27a84 Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Fri, 16 Mar 2007 04:26:58 +0000 Subject: [PATCH] Less verbose debug messages. --- sys/dev/firewire/fwohci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c index b62d27289cd8..1a181c16f7ae 100644 --- a/sys/dev/firewire/fwohci.c +++ b/sys/dev/firewire/fwohci.c @@ -1068,7 +1068,7 @@ fwohci_txd(struct fwohci_softc *sc, struct fwohci_dbch *dbch) BUS_DMASYNC_POSTWRITE); bus_dmamap_unload(dbch->dmat, tr->dma_map); #if 1 - if (firewire_debug) + if (firewire_debug > 1) dump_db(sc, ch); #endif if(status & OHCI_CNTL_DMA_DEAD) { @@ -1558,7 +1558,7 @@ fwohci_itxbuf_enable(struct firewire_comm *fc, int dmach) first = STAILQ_FIRST(&it->stdma); OWRITE(sc, OHCI_ITCMD(dmach), ((struct fwohcidb_tr *)(first->start))->bus_addr | dbch->ndesc); - if (firewire_debug) { + if (firewire_debug > 1) { printf("fwohci_itxbuf_enable: kick 0x%08x\n", stat); #if 1 dump_dma(sc, ITX_CH + dmach); @@ -1584,7 +1584,7 @@ fwohci_itxbuf_enable(struct firewire_comm *fc, int dmach) #else OWRITE(sc, OHCI_ITCTL(dmach), OHCI_CNTL_DMA_RUN); #endif - if (firewire_debug) { + if (firewire_debug > 1) { printf("cycle_match: 0x%04x->0x%04x\n", cycle_now, cycle_match); dump_dma(sc, ITX_CH + dmach);