Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dma_ip_drivers
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
dma_ip_drivers
Commits
02df466d
Unverified
Commit
02df466d
authored
Dec 09, 2021
by
Karen Xie
Committed by
GitHub
Dec 09, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #129 from schouleu/xdma-64bits-coherent
xdma: support 64bits coherent addressing
parents
6a3b003f
9e80e8b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
XDMA/linux-kernel/xdma/libxdma.c
XDMA/linux-kernel/xdma/libxdma.c
+1
-3
No files found.
XDMA/linux-kernel/xdma/libxdma.c
View file @
02df466d
...
...
@@ -4197,9 +4197,7 @@ static int set_dma_mask(struct pci_dev *pdev)
dbg_init
(
"pci_set_dma_mask()
\n
"
);
/* use 64-bit DMA */
dbg_init
(
"Using a 64-bit DMA mask.
\n
"
);
/* use 32-bit DMA for descriptors */
pci_set_consistent_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
));
/* use 64-bit DMA, 32-bit for consistent */
pci_set_consistent_dma_mask
(
pdev
,
DMA_BIT_MASK
(
64
));
}
else
if
(
!
pci_set_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
)))
{
dbg_init
(
"Could not set 64-bit DMA mask.
\n
"
);
pci_set_consistent_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment