Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 373109 | Differences between
and this patch

Collapse All | Expand All

(-)linux-2.6.39-gentoo-r2/drivers/net/jme.c (-10 lines)
Lines 2853-2868 Link Here
2853
static int
2853
static int
2854
jme_pci_dma64(struct pci_dev *pdev)
2854
jme_pci_dma64(struct pci_dev *pdev)
2855
{
2855
{
2856
	if (pdev->device == PCI_DEVICE_ID_JMICRON_JMC250 &&
2857
	    !pci_set_dma_mask(pdev, DMA_BIT_MASK(64)))
2858
		if (!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64)))
2859
			return 1;
2860
2861
	if (pdev->device == PCI_DEVICE_ID_JMICRON_JMC250 &&
2862
	    !pci_set_dma_mask(pdev, DMA_BIT_MASK(40)))
2863
		if (!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(40)))
2864
			return 1;
2865
2866
	if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32)))
2856
	if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32)))
2867
		if (!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)))
2857
		if (!pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32)))
2868
			return 0;
2858
			return 0;

Return to bug 373109