Re: [PATCHv2 06/11]Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)
From: Stefan Richter
Date: Thu Feb 19 2009 - 07:51:06 EST
Yang Hongyang wrote:
> --- a/drivers/ieee1394/pcilynx.c
> +++ b/drivers/ieee1394/pcilynx.c
> @@ -1171,7 +1171,7 @@ static int __devinit add_card(struct pci_dev *dev,
>
> error = -ENXIO;
>
> - if (pci_set_dma_mask(dev, DMA_32BIT_MASK))
> + if (pci_set_dma_mask(dev, DMA_BIT_MASK(32)))
> FAIL("DMA address limits not supported for PCILynx hardware");
> if (pci_enable_device(dev))
> FAIL("failed to enable PCILynx hardware");
this hunk
Acked-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
--
Stefan Richter
-=====-==--= --=- =--==
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/