From: =?iso-8859-1?q?Chris=20Rankin?= Subject: Sudden ISA DMA problems Date: Sat, 16 Feb 2002 15:37:42 +0000 (GMT) Message-ID: <20020216153742.84853.qmail@web13106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Received: from web13106.mail.yahoo.com (web13106.mail.yahoo.com [216.136.174.151]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with SMTP id QAA26627 for ; Sat, 16 Feb 2002 16:37:48 +0100 Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Hi, I saw from the CVS ChangeLog that ALSA is moving away from the deprecated virt_to_bus() to the new pci_allocate_consistent() system calls. Unfortunately, this is causing problems for my ISA DMA sound driver (CS4231 / MPU401 based). I have currently "fixed" things by #undef-ing the ISA_USE_PCI_ALLOC in core/pcm_memory.c. Once I do this, I get sound out of my speakers again. My soundcard also needs a DMA-able buffer so that it can upload its firmware. Previously, I used snd_malloc_pages(), and I tried changing this to snd_malloc_isa_pages(). However, you don't export this function, and even when I cut-and-pasted it into the source file, the firmware wouldn't upload until I used the virt_to_bus()-based compatibility version. It would probably be a good idea to export the following functions: snd_malloc_pci_pages() snd_malloc_isa_pages() snd_free_pci_pages() snd_free_isa_pages() Does anyone have any idea why pci_allocate_consistent() isn't working here, please? Cheers, Chris __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel