Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EtherBone Core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
EtherBone Core
Commits
dcab590b
Commit
dcab590b
authored
12 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
Pretty print alignment
parent
25e06615
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
api/tools/common.c
+1
-1
1 addition, 1 deletion
api/tools/common.c
api/tools/eb-ls.c
+1
-1
1 addition, 1 deletion
api/tools/eb-ls.c
with
2 additions
and
2 deletions
api/tools/common.c
+
1
−
1
View file @
dcab590b
...
...
@@ -123,7 +123,7 @@ void find_device(eb_user_data_t data, eb_device_t dev, sdb_t sdb, eb_status_t st
size
=
des
->
device
.
bus_specific
&
EB_DATAX
;
if
(
verbose
)
{
fprintf
(
stdout
,
" discovered ("
);
fprintf
(
stdout
,
" discovered
device
("
);
fwrite
(
des
->
device
.
sdb_component
.
product
.
name
,
1
,
sizeof
(
des
->
device
.
sdb_component
.
product
.
name
),
stdout
);
fprintf
(
stdout
,
") at 0x%"
EB_ADDR_FMT
" with %s-bit %s
\n
"
,
(
eb_address_t
)
des
->
device
.
sdb_component
.
addr_first
,
width_str
[
size
],
endian_str
[
dev_endian
>>
4
]);
...
...
This diff is collapsed.
Click to expand it.
api/tools/eb-ls.c
+
1
−
1
View file @
dcab590b
...
...
@@ -153,7 +153,7 @@ static void list_devices(eb_user_data_t user, eb_device_t dev, sdb_t sdb, eb_sta
case
sdb_bridge
:
fprintf
(
stdout
,
"
\n
"
);
fprintf
(
stdout
,
" sdb_child: %016"
PRIx64
,
des
->
bridge
.
sdb_child
);
fprintf
(
stdout
,
" sdb_child:
%016"
PRIx64
,
des
->
bridge
.
sdb_child
);
if
(
des
->
bridge
.
sdb_child
<
des
->
bridge
.
sdb_component
.
addr_first
||
des
->
bridge
.
sdb_child
>
des
->
bridge
.
sdb_component
.
addr_last
-
64
)
{
fprintf
(
stdout
,
" !!! not contained in wbd_{addr_first,addr_last}
\n
"
);
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment