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
f77d8824
Commit
f77d8824
authored
Mar 18, 2015
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: print the filter table in hex
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
92fc54a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ep_pfilter.c
dev/ep_pfilter.c
+2
-1
No files found.
dev/ep_pfilter.c
View file @
f77d8824
...
...
@@ -87,7 +87,7 @@
#define PFILTER_MAX_CODE_SIZE 32
#define pfilter_dbg
(x, ...)
/* nothing */
#define pfilter_dbg
pp_printf
extern
volatile
struct
EP_WB
*
EP
;
...
...
@@ -193,6 +193,7 @@ static void pfilter_load(void)
EP
->
PFCR0
=
0
;
// disable pfilter
for
(
i
=
0
;
i
<
code_pos
;
i
++
)
{
pfilter_dbg
(
"pos %02i: %x.%08x
\n
"
,
i
,
(
uint32_t
)(
code_buf
[
i
]
>>
32
),
(
uint32_t
)(
code_buf
[
i
]));
uint32_t
cr0
,
cr1
;
cr1
=
EP_PFCR1_MM_DATA_LSB_W
(
code_buf
[
i
]
&
0xfff
);
cr0
=
...
...
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