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
9e80e8b6
Unverified
Commit
9e80e8b6
authored
Sep 09, 2021
by
Sylvain Chouleur
Committed by
GitHub
Sep 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xdma: support 64bits coherent addressing
parent
748af10d
Changes
1
Hide 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 @
9e80e8b6
...
@@ -3902,9 +3902,7 @@ static int set_dma_mask(struct pci_dev *pdev)
...
@@ -3902,9 +3902,7 @@ static int set_dma_mask(struct pci_dev *pdev)
dbg_init
(
"pci_set_dma_mask()
\n
"
);
dbg_init
(
"pci_set_dma_mask()
\n
"
);
/* use 64-bit DMA */
/* use 64-bit DMA */
dbg_init
(
"Using a 64-bit DMA mask.
\n
"
);
dbg_init
(
"Using a 64-bit DMA mask.
\n
"
);
/* use 32-bit DMA for descriptors */
pci_set_consistent_dma_mask
(
pdev
,
DMA_BIT_MASK
(
64
));
pci_set_consistent_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
));
/* use 64-bit DMA, 32-bit for consistent */
}
else
if
(
!
pci_set_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
)))
{
}
else
if
(
!
pci_set_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
)))
{
dbg_init
(
"Could not set 64-bit DMA mask.
\n
"
);
dbg_init
(
"Could not set 64-bit DMA mask.
\n
"
);
pci_set_consistent_dma_mask
(
pdev
,
DMA_BIT_MASK
(
32
));
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