Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FPGA Configuration Space
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
FPGA Configuration Space
Commits
7ac2c7b3
Commit
7ac2c7b3
authored
Jun 04, 2012
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a bug which caused the cycle line not to drop.
parent
b2006bff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
pcie_wb.c
driver/pcie_wb.c
+3
-0
wishbone.c
driver/wishbone.c
+1
-1
No files found.
driver/pcie_wb.c
View file @
7ac2c7b3
...
...
@@ -39,6 +39,9 @@ static void wb_cycle(struct wishbone* wb, int on)
if
(
on
)
mutex_lock
(
&
dev
->
mutex
);
if
(
unlikely
(
debug
))
printk
(
KERN_ALERT
PCIE_WB
": cycle(%d)
\n
"
,
on
);
iowrite32
(
on
?
0x80000000UL
:
0
,
control
+
CONTROL_REGISTER_HIGH
);
if
(
!
on
)
mutex_unlock
(
&
dev
->
mutex
);
...
...
driver/wishbone.c
View file @
7ac2c7b3
...
...
@@ -152,7 +152,7 @@ static void etherbone_process(struct etherbone_context* context)
}
}
if
((
flags
&
ETHERBONE_CYC
)
=
=
0
)
{
if
((
flags
&
ETHERBONE_CYC
)
!
=
0
)
{
wops
->
cycle
(
wb
,
0
);
context
->
state
=
idle
;
}
...
...
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