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

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



Index: trident_memory.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/trident/trident_memory.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- trident_memory.c    6 Mar 2004 16:51:31 -0000       1.13
+++ trident_memory.c    15 Mar 2004 17:29:41 -0000      1.14
@@ -76,8 +76,8 @@
 static inline void set_silent_tlb(trident_t *trident, int page)
 {
        page <<= 1;
-       __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silent_page, 
trident->tlb.silent_page_dmaaddr);
-       __set_tlb_bus(trident, page+1, (unsigned long)trident->tlb.silent_page, 
trident->tlb.silent_page_dmaaddr);
+       __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silent_page.area, 
trident->tlb.silent_page.addr);
+       __set_tlb_bus(trident, page+1, (unsigned long)trident->tlb.silent_page.area, 
trident->tlb.silent_page.addr);
 }
 
 #else
@@ -111,7 +111,7 @@
        int i;
        page *= UNIT_PAGES;
        for (i = 0; i < UNIT_PAGES; i++, page++)
-               __set_tlb_bus(trident, page, (unsigned long)trident->tlb.silent_page, 
trident->tlb.silent_page_dmaaddr);
+               __set_tlb_bus(trident, page, (unsigned 
long)trident->tlb.silent_page.area, trident->tlb.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