Re: i810_audio

Doug Ledford (dledford@redhat.com)
Tue, 08 Jan 2002 14:58:55 -0500


willy tarreau wrote:

>>i810_audio.c:747: `PI_OR' undeclared (first use in
>>
> this function)
>
> Replace PI_OR with PO_SR. It compiled for me after
> that.
> But my system still hangs after close while Thomas
> Gschwidt's
> patch works OK.

Someone posted one of the DMA Overrun on write error messages to me, and
that allowed me to see that on the SiS hardware we are getting garbage in
the upper 3 bits of the LVI register (presumably because we read garbage
from the upper 3 bits of the CIV register). So, I've put a 0.15 version of
my driver on my site that now bounds our LVI and CIV reads so that we mask
out any possible garbage. And, since writing garbage to LVI could keep the
hardware going in loops forever and other sorts of bad things, it might
solve your problem. Please give it a try and let me know how it works.

-- 

Doug Ledford <dledford@redhat.com> http://people.redhat.com/dledford Please check my web site for aic7xxx updates/answers before e-mailing me about problems

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/