fpgasystems / Coyote

Framework providing operating system abstractions and a range of shared networking (RDMA, TCP/IP) and memory services to common modern heterogeneous platforms.
MIT License
214 stars 64 forks source link

Update driver api to make it work with newer version of linux kernel (>5.17) #32

Closed jedichen121 closed 1 year ago

jedichen121 commented 1 year ago

Replacing pci_alloc_consistent() and pci_free_consistent() with dma_alloc_coherent() and dma_free_coherent(). The pci version is not available in kernels > 5.17.