Date: Tue, 19 Aug 1997 21:10:41 +1000 From: Bruce Evans <bde@zeta.org.au> To: hasty@rah.star-gate.com, luigi@labinfo.iet.unipi.it Cc: current@FreeBSD.ORG, freebsd-multimedia@FreeBSD.ORG, mestery@winternet.com, msmith@atrad.adelaide.edu.au, terry@lambert.org Subject: Re: Problem with my Wincast, fxtv Message-ID: <199708191110.VAA08058@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>the code is in the README file of my last snap (and I thought I also
>posted it explicitly, if I didn't it was just by mistake).
>
>At any rate the code is as follows:
>
>/*
> * this stops the dma channel and returns the residual count
> * derived calling isa_dmastatus
> */
>int isa_dmastop(int chan)
>{
> if (dma_inuse & (1 << chan) == 0)
( )
> printf("isa_dmastop: channel %d not acquired\n", chan);
> if (dma_busy & (1 << chan) == 0)
( )
> printf("isa_dmastop: channel %d not acquired\n", chan);
This is missing necessary parentheses, like the original committed
version.
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708191110.VAA08058>
