Date: Thu, 14 Aug 1997 22:10:29 -0700 From: Amancio Hasty <hasty@rah.star-gate.com> To: current@freebsd.org Subject: isa.c:isa_dmastatus(int chan) Message-ID: <199708150510.WAA00321@rah.star-gate.com>
next in thread | raw e-mail | index | archive | help
Can someone delete the enclosed data from isa_dmastatus?
isa_dmastatus(int chan)
{
u_long cnt = 0;
int ffport, waport;
u_long low1, high1, low2, high2;
u_long ef;
/* delete this block of code */
/* channel active? */
if ((dma_inuse & (1 << chan)) == 0) {
printf("isa_dmastatus: channel %d not active\n", chan);
return(-1);
}
/* still busy? */
if ((dma_busy & (1 << chan)) == 0) {
return(0);
}
/* end of delete block */
----
isa_dmastatus is really meant for the sound driver and we are using
in auto dma mode. Also it is a bad idea to print diagnostic messages
such as the above .
Tnks,
Amancio
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708150510.WAA00321>
