Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmytro Levit
Software
Commits
ce0afa1a
Commit
ce0afa1a
authored
4 years ago
by
Patrick Robbe
Browse files
Options
Downloads
Patches
Plain Diff
cleanup code
parent
f5520681
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Pcie40Driver/altera_dma.c
+0
-2
0 additions, 2 deletions
Pcie40Driver/altera_dma.c
Pcie40Driver/altera_dma.h
+1
-1
1 addition, 1 deletion
Pcie40Driver/altera_dma.h
with
1 addition
and
3 deletions
Pcie40Driver/altera_dma.c
+
0
−
2
View file @
ce0afa1a
...
...
@@ -126,8 +126,6 @@ ssize_t altera_dma_rw(struct file *file, char __user *buf, size_t count, loff_t
ssize_t
altera_dma_exec_cmd
(
struct
dma_cmd
*
ucmd
,
struct
pcie40_dma_state
*
bk_ptr
)
{
int
rc
,
num_input
;
int
value
=
77
;
unsigned
av
[
2
];
struct
dma_cmd
kcmd
;
//struct dma_status curr;
if
(
copy_from_user
(
&
kcmd
,
ucmd
,
sizeof
(
struct
dma_cmd
)))
...
...
This diff is collapsed.
Click to expand it.
Pcie40Driver/altera_dma.h
+
1
−
1
View file @
ce0afa1a
...
...
@@ -14,7 +14,7 @@
#define ALTERA_DMA_DEVFILE "dma"
#define P40_MAX_BAR 5
#define DMA_BARS
(
(1 << 0)
| (1 << 4))
// for BAR0 and BAR4
#define DMA_BARS (1 << 0) // for BAR0 and BAR4
typedef
struct
spage_struct
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment