Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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 - Software
Commits
5febaac4
Commit
5febaac4
authored
May 15, 2013
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svec: check_golden temporarily done with
it's not the culprit of the allocation bug
parent
2aab3501
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
svec-fmc.c
kernel/svec-fmc.c
+9
-4
No files found.
kernel/svec-fmc.c
View file @
5febaac4
...
...
@@ -203,12 +203,17 @@ int svec_fmc_prepare(struct svec_dev *svec, unsigned int fmc_slot)
fmc
->
eeprom_addr
=
0x50
+
2
*
(
1
-
fmc_slot
);
fmc
->
memlen
=
0x100000
;
#if 0
/* check golden integrity */
ret
=
check_golden
(
fmc
);
if
(
ret
)
{
dev_err
(
svec
->
dev
,
"Bad golden, error %d
\n
"
,
ret
);
return
ret
;
/* FIXME: this uses fmc_scan_sdb_tree and de-allocation
* could be wrong at second reprogramming, as it is called
* n times, one per slot */
error = check_golden(fmc);
if (error) {
dev_err(svec->dev, "Bad golden, error %d\n", error);
return error;
}
#endif
ret
=
svec_i2c_init
(
fmc
,
fmc_slot
);
if
(
ret
)
{
...
...
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