Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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 PCIe FMC carrier SPEC
Commits
ababe289
Commit
ababe289
authored
Aug 01, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: report more errors on dmesg
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
6ce53498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
spec-core-fpga.c
software/kernel/spec-core-fpga.c
+22
-7
No files found.
software/kernel/spec-core-fpga.c
View file @
ababe289
...
...
@@ -896,20 +896,35 @@ int spec_fpga_init(struct spec_gn412x *spec_gn412x)
spec_fpga_dbg_init
(
spec_fpga
);
err
=
spec_fpga_vic_init
(
spec_fpga
);
if
(
err
)
if
(
err
)
{
dev_err
(
&
spec_gn412x
->
pdev
->
dev
,
"Failed to initialize VIC %d
\n
"
,
err
);
goto
err_vic
;
}
err
=
spec_fpga_dma_init
(
spec_fpga
);
if
(
err
)
goto
err_dma
;
if
(
err
)
{
dev_err
(
&
spec_gn412x
->
pdev
->
dev
,
"Failed to initialize DMA %d
\n
"
,
err
);
goto
err_dma
;
}
err
=
spec_fpga_devices_init
(
spec_fpga
);
if
(
err
)
if
(
err
)
{
dev_err
(
&
spec_gn412x
->
pdev
->
dev
,
"Failed to initialize Devices %d
\n
"
,
err
);
goto
err_devs
;
}
err
=
spec_fmc_init
(
spec_fpga
);
if
(
err
)
goto
err_fmc
;
if
(
err
)
{
dev_err
(
&
spec_gn412x
->
pdev
->
dev
,
"Failed to initialize FMC %d
\n
"
,
err
);
goto
err_fmc
;
}
err
=
spec_fpga_app_init
(
spec_fpga
);
if
(
err
)
if
(
err
)
{
dev_err
(
&
spec_gn412x
->
pdev
->
dev
,
"Failed to initialize APP %d
\n
"
,
err
);
goto
err_app
;
}
return
0
;
...
...
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