openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem


From: Lee Revell
Subject: [Openvortex-dev] Re: [Alsa-devel] Re: au88x0 modem
Date: Thu, 15 Sep 2005 22:26:34 -0400

On Fri, 2005-09-16 at 10:17 +0800, Raymond wrote:
> +        if (pci_set_dma_mask(pci, VORTEX_DMA_MASK) < 0 ||
> +             pci_set_consistent_dma_mask(pci, VORTEX_DMA_MASK) < 0) {
>               printk(KERN_ERR "error to set DMA mask\n");
> +             pci_disable_device(pci);
>               return -ENXIO;
>       }
> -     pci_set_dma_mask(pci, VORTEX_DMA_MASK);

>   #define     VORTEX_DMA_MASK 0xffffffff
> 

You should be using DMA_32BIT_MASK for this (see
include/linux/dma-mapping.h).

Lee





reply via email to

[Prev in Thread] Current Thread [Next in Thread]