1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Less verbose debug messages.

This commit is contained in:
Hidetoshi Shimokawa 2007-03-16 04:26:58 +00:00
parent d0581de84e
commit ac44778260
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167629

View File

@ -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);