> I patched it to 0.5.8a but the situation has not changed.
> Tried to get the CVS version but lowlevel/intel8xo.c is missing, me thinks it has 
>been merged with card-intel8x0.c. So i patched that too. But still no dice.

Don't know about the CVS version. But I checked the 0.5.8a, and it does
some things slightly differently than my patch, and I expect the patch
won't work with 0.5.8a, as all the context in the area where the patch was
supposed to change the code has changed. I had originally made the patch
for 0.5.2.

Anyway, here is a diff output of the modified 0.5.8a->intel8x0.c against
the prestine. Try this out. And let me know.

Regards,
Kedar.
----------------------------------------------------------------
Kedar N. Patankar.
Senior Software Engineer.
ishoni Networks
...Broadband for everyone
http://www.ishoni.com
email - [EMAIL PROTECTED]
Phone: +91-80-2292125 (Work)
Fax: +91-80-2995545 (Work)
----------------------------------------------------------------
Be regular and orderly in your life, so that you may be violent
and original in your work.
721d720
<       unsigned long ctrl_reg;
724,730c723,729
<       ctrl_reg = inl(ICHREG(codec,GLOB_CNT));
<       if (!(ctrl_reg & ICH_AC94COLD))
<                       ctrl_reg |= ICH_AC97COLD;
<       outl(ctrl_reg, ICHREG(codec, GLOB_CNT));
<       end_time = jiffies + (HZ>>2);
<       while(end_time > jiffies)
<                       ;
---
>       outl(ICH_AC97WARM | ICH_AC97COLD, ICHREG(codec, GLOB_CNT));
>       end_time = jiffies + (HZ >> 2);
>       do {
>               if ((inl(ICHREG(codec, GLOB_CNT)) & ICH_AC97WARM) == 0)
>                       goto __ok;
>       } while (end_time - (signed long)jiffies >= 0);
>       snd_printk("AC'97 warm reset still in progress? [0x%x]\n", inl(ICHREG(codec, 
>GLOB_CNT)));
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/

Reply via email to