From d21a51989f923f9c3807aa103ec74bb9c6eb45fe Mon Sep 17 00:00:00 2001 From: simokawa Date: Fri, 16 Mar 2007 04:26:58 +0000 Subject: Less verbose debug messages. --- sys/dev/firewire/fwohci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/dev/firewire/fwohci.c b/sys/dev/firewire/fwohci.c index b62d2728..1a181c1 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); -- cgit v1.1