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
3457f310
Commit
3457f310
authored
May 12, 2014
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel/svec-drv.c: fix DTACK on both A32/A24 issue on buggy VME64x cores (see ohwr.org issue #943)
parent
d97627a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
svec-drv.c
kernel/svec-drv.c
+9
-0
No files found.
kernel/svec-drv.c
View file @
3457f310
...
...
@@ -498,6 +498,15 @@ int svec_setup_csr(struct svec_dev *svec)
memset
(
ader
,
0
,
sizeof
(
ader
));
/* Below is a hack to keep the VME core function disabling work on bitstreams
containing a buggy VME core (commit b2fc3ce7): set bit 0 (XAM_MODE) to 1
to disable given function (because neither function 0 nor 1 have anything
in their extended capability sets, setting XAM_MODE = 1 effectively disables
the function. */
ader
[
0
][
3
]
=
1
;
ader
[
1
][
3
]
=
1
;
/* do address relocation for FUN0/1 */
ader
[
func
][
0
]
=
(
svec
->
cfg_cur
.
vme_base
>>
24
)
&
0xFF
;
ader
[
func
][
1
]
=
(
svec
->
cfg_cur
.
vme_base
>>
16
)
&
0xFF
;
...
...
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