Update of /cvsroot/alsa/alsa-kernel/pci/emu10k1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18888/emu10k1

Modified Files:
        emu10k1_callback.c memory.c 
Log Message:
fixed the mapping of silent pages on emu10k1 and trident SG buffers.



Index: emu10k1_callback.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_callback.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- emu10k1_callback.c  2 Mar 2004 15:32:37 -0000       1.10
+++ emu10k1_callback.c  15 Mar 2004 17:29:41 -0000      1.11
@@ -426,7 +426,7 @@
                snd_emu10k1_ptr_write(hw, CDF, ch, sample);
 
                /* invalidate maps */
-               temp = ((unsigned int)hw->silent_page_dmaaddr << 1) | MAP_PTI_MASK;
+               temp = ((unsigned int)hw->silent_page.addr << 1) | MAP_PTI_MASK;
                snd_emu10k1_ptr_write(hw, MAPA, ch, temp);
                snd_emu10k1_ptr_write(hw, MAPB, ch, temp);
                

Index: memory.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/memory.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- memory.c    6 Mar 2004 16:51:30 -0000       1.16
+++ memory.c    15 Mar 2004 17:29:41 -0000      1.17
@@ -62,7 +62,7 @@
        page *= UNIT_PAGES;
        for (i = 0; i < UNIT_PAGES; i++, page++)
                /* do not increment ptr */
-               __set_ptb_entry(emu, page, emu->silent_page_dmaaddr);
+               __set_ptb_entry(emu, page, emu->silent_page.addr);
 }
 #endif /* PAGE_SIZE */
 



-------------------------------------------------------
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

Reply via email to