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
461d5582
Commit
461d5582
authored
Jul 16, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw:drv: fix application resource assignment
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
ebd1e2b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec-core-fpga.c
software/kernel/spec-core-fpga.c
+2
-2
No files found.
software/kernel/spec-core-fpga.c
View file @
461d5582
...
...
@@ -589,8 +589,8 @@ static void spec_fpga_app_id_build(struct spec_fpga *spec_fpga,
static
int
spec_fpga_app_init
(
struct
spec_fpga
*
spec_fpga
)
{
#define SPEC_FPGA_APP_NAME_MAX 47
#define SPEC_FPGA_APP_IRQ_BASE
5
#define SPEC_FPGA_APP_RES_N
28
#define SPEC_FPGA_APP_IRQ_BASE
6
#define SPEC_FPGA_APP_RES_N
(32 - SPEC_FPGA_APP_IRQ_BASE + 1)
struct
pci_dev
*
pcidev
=
to_pci_dev
(
spec_fpga
->
dev
.
parent
);
unsigned
int
res_n
=
SPEC_FPGA_APP_RES_N
;
struct
resource
res
[
SPEC_FPGA_APP_RES_N
]
=
{
...
...
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