-
Linux 3.1.0 – Kernel module patch
Patch to build desktopvideo-8.6.1a10 against kernel version 3.1.0.
DMA_nBITS_MASK Macros have been depreciated for quite a while now and have finally gotten the boot.
Replace DMA_nBITS_MASK with DMA_BITS_MASK(n)
diff -U 3 -H -d -r -N -- desktopvideo-8.6.1a10.orig/blackmagic_core.c desktopvideo-8.6.1a10/blackmagic_core.c
--- desktopvideo-8.6.1a10.orig/blackmagic_core.c 2011-10-24 20:27:33.000000000 -0500
+++ desktopvideo-8.6.1a10/blackmagic_core.c 2011-10-31 21:43:40.557347242 -0500
@@ -327,9 +327,9 @@
pci_enable_device(pdev);
pci_set_master(pdev);- if (pci_set_dma_mask(pdev, DMA_64BIT_MASK) < 0)
+ if (pci_set_dma_mask(pdev, DMA_BIT_MASK(64)) < 0)
{
- if (pci_set_dma_mask(pdev, DMA_32BIT_MASK) < 0)
+ if (pci_set_dma_mask(pdev, DMA_32BIT_MASK(32)) < 0)
goto fail;
}
Sorry, there were no replies found.