Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
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
Software for White Rabbit PTP Core
Commits
0066b66f
Commit
0066b66f
authored
Feb 28, 2017
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minic: hanging when TX FIFO gets full is a VERY BAD IDEA
parent
adc11ade
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
minic.c
dev/minic.c
+1
-1
No files found.
dev/minic.c
View file @
0066b66f
...
...
@@ -272,7 +272,7 @@ int minic_tx_frame(struct wr_ethhdr_vlan *hdr, uint8_t *payload, uint32_t size,
/* Start sending the frame, and while we read mcr check for fifo full */
mcr
=
minic_readl
(
MINIC_REG_MCR
);
assert
((
mcr
&
MINIC_MCR_TX_FULL
)
==
0
,
"Minic tx fifo full"
);
assert
_warn
((
mcr
&
MINIC_MCR_TX_FULL
)
==
0
,
"Minic tx fifo full"
);
minic_writel
(
MINIC_REG_MCR
,
mcr
|
MINIC_MCR_TX_START
);
/* wait for the DMA to finish */
...
...
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