Subject: Re: autri0: Codec timeout. Busy reading AC'97 codec.
To: tedu <grendel@zeitbombe.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-kern
Date: 09/13/2002 00:01:53
On Wed, 11 Sep 2002, tedu wrote:
> I think you picked the wrong part of the patch to try. :)  You want the
> one-liner
> -       if (((as->host_flags & AC97_HOST_DONT_READ) &&
> +       if ((
> in ac97_read().
>
> The real fix is to have as->host_flags set to AC97_HOST_DONT_READ, but the
> autri driver doesn't set any flags.  I was interested in making sound work
> more than doing it right. :(

That indeed did the trick, thanks a lot!
Anyone want to comment on committing that change?


 - Hubert

-- 
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup  -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/