Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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 - Software
Commits
dd22dc58
Commit
dd22dc58
authored
Jul 28, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr-nic-core: trivial details
parent
d826a19a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wr-nic-core.c
kernel/wr-nic-core.c
+3
-2
No files found.
kernel/wr-nic-core.c
View file @
dd22dc58
...
...
@@ -15,7 +15,7 @@
#include "wr-nic.h"
#include "spec.h"
static
char
*
wrn_filename
=
"wr_nic_dio.bin"
;
static
char
*
wrn_filename
=
WRN_GATEWARE_DEFAULT_NAME
;
module_param_named
(
file
,
wrn_filename
,
charp
,
0444
);
irqreturn_t
wrn_handler
(
int
irq
,
void
*
dev_id
)
...
...
@@ -58,11 +58,12 @@ int wrn_probe(struct fmc_device *fmc)
}
/* Verify that we have SDB at offset 0x30000 */
if
(
fmc_readl
(
fmc
,
0x
30
000
)
!=
0x5344422d
)
{
if
(
fmc_readl
(
fmc
,
0x
63
000
)
!=
0x5344422d
)
{
dev_err
(
dev
,
"Can't find SDB magic
\n
"
);
ret
=
-
ENODEV
;
goto
out_fw
;
}
dev_info
(
dev
,
"Gateware successfully loaded
\n
"
);
/* Register the gpio stuff, if we have kernel support */
ret
=
wrn_gpio_init
(
fmc
);
...
...
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