Update of /cvsroot/alsa/alsa-kernel/isa/cs423x In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23362/isa/cs423x
Modified Files: cs4231_lib.c Log Message: - clean up the DMA code again. now only struct device pointer is handled for every BUS type. the pointer must be given via the corresponding macro snd_dma_xxx_data(). - added the hack for dma_alloc_coherent() to accept dev = NULL for ISA buffers. - added the missing include files. Index: cs4231_lib.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/isa/cs423x/cs4231_lib.c,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- cs4231_lib.c 2 Mar 2004 15:38:14 -0000 1.36 +++ cs4231_lib.c 6 Mar 2004 16:51:29 -0000 1.37 @@ -1653,8 +1653,8 @@ strcpy(pcm->name, snd_cs4231_chip_id(chip)); #ifdef LEGACY_SUPPORT - snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_ISA, - snd_pcm_dma_flags(0), + snd_pcm_lib_preallocate_pages_for_all(pcm, SNDRV_DMA_TYPE_DEV, + snd_dma_isa_data(), 64*1024, chip->dma1 > 3 || chip->dma2 > 3 ? 128*1024 : 64*1024); #else # ifdef EBUS_SUPPORT ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog