From: Doug Ledford <dledford@redhat.com>
To: Andris Pavenis <pavenis@latnet.lv>
Cc: Juergen Sawinski <juergen.sawinski@mpimf-heidelberg.mpg.de>,
"linux-kernel@vger" <linux-kernel@vger.kernel.org>,
Alan Cox <alan@redhat.com>
Subject: Re: Linux-2.4.20-pre4-ac1: i810_audio broken
Date: Wed, 28 Aug 2002 12:12:18 -0400 [thread overview]
Message-ID: <20020828121218.E30777@redhat.com> (raw)
In-Reply-To: <200208281859.38609.pavenis@latnet.lv>; from pavenis@latnet.lv on Wed, Aug 28, 2002 at 06:59:38PM +0300
On Wed, Aug 28, 2002 at 06:59:38PM +0300, Andris Pavenis wrote:
>
> Tried, it helps for i810_audio.c both from 2.4.20-pre1-ac2 and
> 2.4.20-pre4-ac1. (Patch simply to be sure we're talking about the
> same thing). In both cases I put i810_audio.c in 2.4.20-pre4-ac1 source
> tree.
[ Alan, you should be perking your ears up about now I think... ]
OK, let's be more precise on this ;-) If you put this patch into the
2.4.20-pre4-ac1 kernel, does it actually solve the DMA overrun problem
(as in they don't happen anymore) or does it only reduce the frequency
of the problem but it does still exist? Same question for the drain_dac()
DMA timeout messages?
>
> Andris
>
> --- i810_audio.c-2.4.20-pre1-ac2 2002-08-28 09:50:44.000000000 +0300
> +++ i810_audio.c 2002-08-28 18:51:34.000000000 +0300
> @@ -732,8 +732,6 @@
> outb(0, card->iobase + PI_CR);
> // wait for the card to acknowledge shutdown
> while( inb(card->iobase + PI_CR) != 0 ) ;
> - // reset the dma engine now
> - outb(0x02, card->iobase + PI_CR);
> // now clear any latent interrupt bits (like the halt bit)
> if(card->pci_id == PCI_DEVICE_ID_SI_7012)
> outb( inb(card->iobase + PI_PICB), card->iobase + PI_PICB );
> @@ -784,8 +782,6 @@
> outb(0, card->iobase + PO_CR);
> // wait for the card to acknowledge shutdown
> while( inb(card->iobase + PO_CR) != 0 ) ;
> - // reset the dma engine now
> - outb(0x02, card->iobase + PO_CR);
> // now clear any latent interrupt bits (like the halt bit)
> if(card->pci_id == PCI_DEVICE_ID_SI_7012)
> outb( inb(card->iobase + PO_PICB), card->iobase + PO_PICB );
--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
prev parent reply other threads:[~2002-08-28 16:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-27 9:53 Linux-2.4.20-pre4-ac1: i810_audio broken Andris Pavenis
2002-08-27 18:46 ` Doug Ledford
2002-08-28 0:21 ` Juergen Sawinski
2002-08-28 0:30 ` Juergen Sawinski
2002-08-28 7:04 ` Andris Pavenis
2002-08-28 12:51 ` Juergen Sawinski
2002-08-28 13:22 ` Andris Pavenis
2002-08-28 15:21 ` Doug Ledford
2002-08-28 15:47 ` Juergen Sawinski
2002-08-28 16:07 ` Doug Ledford
2002-08-28 15:59 ` Andris Pavenis
2002-08-28 16:12 ` Doug Ledford [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020828121218.E30777@redhat.com \
--to=dledford@redhat.com \
--cc=alan@redhat.com \
--cc=juergen.sawinski@mpimf-heidelberg.mpg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavenis@latnet.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox