Skip to content
Snippets Groups Projects
Commit e275e645 authored by Wesley W. Terpstra's avatar Wesley W. Terpstra Committed by Alessandro Rubini
Browse files

pcie-wb: DOH! Lock the device and THEN configure the byte enable.

parent a1e352a5
Branches
Tags
No related merge requests found
......@@ -91,11 +91,11 @@ static void etherbone_process(struct etherbone_context* context)
if (left < record_len) break;
/* Configure byte enable and raise cycle line */
wops->byteenable(wb, be);
if (context->state == idle) {
wops->cycle(wb, 1);
context->state = cycle;
}
wops->byteenable(wb, be);
/* Process the writes */
if (wcount > 0) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment