Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 1996 18:38:34 +0200
From:      "Christoph P. Kukulies" <kuku@gilberto.physik.rwth-aachen.de>
To:        freebsd-current@freefall.FreeBSD.org
Subject:   patch to isa.c
Message-ID:  <199605161638.SAA14762@gilberto.physik.rwth-aachen.de>

next in thread | raw e-mail | index | archive | help

Around line 702 isa.c has an #ifdef DIAGNOSTIC block.

A portion of this block  contains printf("isa_dmastart: channel %d busy"..).

The patch includes this printf also into the ifdefd passage.


--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de


*** isa.c	Thu May 16 18:28:52 1996
--- /sys/i386/isa/isa.c	Thu May  2 16:54:15 1996
***************
*** 702,711 ****
  
  	if (dma_inuse & (1 << chan) == 0)
  		printf("isa_dmastart: channel %d not acquired\n", chan);
  
  	if (dma_busy & (1 << chan))
  		printf("isa_dmastart: channel %d busy\n", chan);
- #endif
  
  	dma_busy |= (1 << chan);
  
--- 702,711 ----
  
  	if (dma_inuse & (1 << chan) == 0)
  		printf("isa_dmastart: channel %d not acquired\n", chan);
+ #endif
  
  	if (dma_busy & (1 << chan))
  		printf("isa_dmastart: channel %d busy\n", chan);
  
  	dma_busy |= (1 << chan);
  




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605161638.SAA14762>