Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Issue With Location of xilinx_dma.h #2

Closed
bperez77 opened this issue Jul 21, 2016 · 0 comments
Closed

Fix Issue With Location of xilinx_dma.h #2

bperez77 opened this issue Jul 21, 2016 · 0 comments
Assignees
Labels

Comments

@bperez77
Copy link
Owner

The purpose file version_portability.h is to deal with the differences between Linux 3.x and 4.x. This is to deal with changes to the generic DMA interface, and changes to Xilinx's AXI DMA driver. One of these changes is the location of xilinx_dma.h.

In 3.x versions, it was located under include/linux/amba/xilinx_dma.h and in 4.x it was typically located under include/linux/dma/xilinx_dma.h. However, not all 4.x versions of the Xilinx kernel obey this. For example, the Analog Device's fork of the kernel has the file under include/linux/amba/xilinx_dma.h. This was originally spawned by discussion in issue #1. The branch xilinx-v2015.4 of the mainline Xilinx kernel has this problem as well.

Thus, to deal with this quirk, the file has to updated to allow for a new macro that specifies to use the alternate location for the 4.x version. This should be able to be specified from the Makefile command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant