Update of /cvsroot/alsa/alsa-kernel/isa/es1688
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18820/alsa-kernel/isa/es1688

Modified Files:
        es1688_lib.c 
Log Message:
Big DMA cleanup originated by Russell King <[EMAIL PROTECTED]>
* Russel
  - introduced 'struct device' support for 2.6 dma_alloc_coherent()
* Jaroslav
  - removed all bus-specific allocation functions
  - extended snd_dma_alloc_pages/snd_dma_free_pages to handle all bus types
  - recoded all (or almost all) device drivers
  - sgbuf functions are bus independent now


Index: es1688_lib.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/es1688/es1688_lib.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- es1688_lib.c        13 Jan 2004 17:11:26 -0000      1.20
+++ es1688_lib.c        2 Mar 2004 15:32:36 -0000       1.21
@@ -752,7 +752,9 @@
        sprintf(pcm->name, snd_es1688_chip_id(chip));
        chip->pcm = pcm;
 
-       snd_pcm_lib_preallocate_isa_pages_for_all(pcm, 64*1024, 64*1024);
+       snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_ISA,
+                                             snd_pcm_isa_flags(0),
+                                             64*1024, 64*1024);
 
        if (rpcm)
                *rpcm = pcm;



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to