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
fd88c6da
Commit
fd88c6da
authored
May 08, 2013
by
Juan David González Cobas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svec: i2c addresses are swapped in the bitstream
parent
919b3563
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
svec-fmc.c
kernel/svec-fmc.c
+1
-1
No files found.
kernel/svec-fmc.c
View file @
fd88c6da
...
...
@@ -201,7 +201,7 @@ int svec_fmc_prepare(struct svec_dev *svec, unsigned int fmc_slot)
fmc
->
slot_id
=
fmc_slot
;
fmc
->
device_id
=
(
svec
->
slot
<<
6
)
|
fmc_slot
;
fmc
->
eeprom_addr
=
0x50
+
2
*
fmc_slot
;
fmc
->
eeprom_addr
=
0x50
+
2
*
(
1
-
fmc_slot
)
;
fmc
->
memlen
=
0x100000
;
/* check golden integrity */
...
...
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