Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple VME FMC Carrier SVEC
Commits
a8abe33e
Commit
a8abe33e
authored
Sep 11, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: bugfix use correct funciton number
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
e356c034
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
svec-core-fpga.c
software/kernel/svec-core-fpga.c
+3
-3
No files found.
software/kernel/svec-core-fpga.c
View file @
a8abe33e
...
...
@@ -629,7 +629,7 @@ static int svec_fpga_app_init(struct svec_fpga *svec_fpga)
struct
irq_domain
*
vic_domain
;
char
app_name
[
SVEC_FPGA_APP_NAME_MAX
];
unsigned
long
app_offset
;
int
err
;
int
err
,
fn
=
svec_fpga
->
function_nr
;
app_offset
=
svec_fpga_csr_app_offset
(
svec_fpga
);
if
(
!
app_offset
)
{
...
...
@@ -637,8 +637,8 @@ static int svec_fpga_app_init(struct svec_fpga *svec_fpga)
return
0
;
}
res
[
0
].
start
=
vme_resource_start
(
vdev
,
0
)
+
app_offset
;
res
[
0
].
end
=
vme_resource_end
(
vdev
,
0
);
res
[
0
].
start
=
vme_resource_start
(
vdev
,
fn
)
+
app_offset
;
res
[
0
].
end
=
vme_resource_end
(
vdev
,
fn
);
if
(
svec_fpga
->
vic_pdev
)
vic_domain
=
irq_find_host
((
void
*
)
&
svec_fpga
->
vic_pdev
->
dev
);
...
...
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