i386/74191: Notebook PC2001 Compliant AC97 audio works for only
first 15 seconds
Pyun YongHyeon
pyunyh at gmail.com
Wed Oct 5 23:29:24 PDT 2005
On Wed, Oct 05, 2005 at 05:00:27PM +0000, Tilman Linneweh wrote:
> Synopsis: Notebook PC2001 Compliant AC97 audio works for only first 15 seconds
>
> Responsible-Changed-From-To: freebsd-i386->freebsd-multimedia
> Responsible-Changed-By: arved
> Responsible-Changed-When: Wed Oct 5 16:59:57 GMT 2005
> Responsible-Changed-Why:
> over to multimedia group
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=74191
I can't sure what caused this but it seems that there is a bug in
interrupt handler.
In stock t4dwave(4), we have the following code in tr_intr().
725 intsrc = tr_rd(tr, TR_REG_MISCINT, 4);
726 if (intsrc & TR_INT_ADDR) {
727 chnum = 0;
728 while (chnum < 64) {
^^^
729 mask = 0x00000001;
I think it would be 32 for M5451 as the hardware only supports 32
channels. The correct one should be selected by checking pci_get_devid().
Ariff, what's your opinion?
--
Regards,
Pyun YongHyeon
More information about the freebsd-multimedia
mailing list