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

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





Index: ice1712.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1712.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- ice1712.c   23 Oct 2003 14:34:53 -0000      1.36
+++ ice1712.c   20 Nov 2003 13:22:20 -0000      1.37
@@ -2365,7 +2365,7 @@
                snd_printk("architecture does not support 28bit PCI busmaster DMA\n");
                return -ENXIO;
        }
-       pci_set_dma_mask(pci, 0x0fffffff);
+       pci_set_consistent_dma_mask(pci, 0x0fffffff);
 
        ice = snd_magic_kcalloc(ice1712_t, 0, GFP_KERNEL);
        if (ice == NULL)

Index: ice1724.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ice1712/ice1724.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ice1724.c   10 Nov 2003 18:00:50 -0000      1.20
+++ ice1724.c   20 Nov 2003 13:22:20 -0000      1.21
@@ -1801,7 +1801,7 @@
         /* enable PCI device */
        if ((err = pci_enable_device(pci)) < 0)
                return err;
-       pci_set_dma_mask(pci, 0xffffffff); 
+       pci_set_consistent_dma_mask(pci, 0xffffffff); 
 
        ice = snd_magic_kcalloc(ice1712_t, 0, GFP_KERNEL);
        if (ice == NULL)



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