Update of /cvsroot/alsa/alsa-kernel/pci/trident
In directory sc8-pr-cvs1:/tmp/cvs-serv6227/pci/trident

Modified Files:
        trident_main.c 
Log Message:
- use pci_set_consistent_dma_mask().





Index: trident_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/trident/trident_main.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- trident_main.c      23 Oct 2003 14:34:53 -0000      1.48
+++ trident_main.c      20 Nov 2003 13:22:20 -0000      1.49
@@ -3527,7 +3527,7 @@
                snd_printk("architecture does not support 30bit PCI busmaster DMA\n");
                return -ENXIO;
        }
-       pci_set_dma_mask(pci, 0x3fffffff);
+       pci_set_consistent_dma_mask(pci, 0x3fffffff);
        
        trident = snd_magic_kcalloc(trident_t, 0, GFP_KERNEL);
        if (trident == NULL)
@@ -3952,7 +3952,7 @@
                return;
 
        pci_enable_device(trident->pci);
-       pci_set_dma_mask(trident->pci, 0x3fffffff); /* to be sure */
+       pci_set_consistent_dma_mask(trident->pci, 0x3fffffff); /* FIXME: correct? */
        pci_set_master(trident->pci); /* to be sure */
 
        switch (trident->device) {



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to