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
8e81f070
Commit
8e81f070
authored
13 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
More helpful error message.
parent
0a91a240
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/etherbone.h
+1
-1
1 addition, 1 deletion
api/etherbone.h
api/glue/device.c
+1
-1
1 addition, 1 deletion
api/glue/device.c
with
2 additions
and
2 deletions
api/etherbone.h
+
1
−
1
View file @
8e81f070
...
...
@@ -244,7 +244,7 @@ eb_status_t eb_socket_detach(eb_socket_t socket, eb_address_t address);
* Return codes:
* OK - the remote etherbone device is ready
* ADDRESS - the network address could not be parsed
*
FAIL
- the remote
address
did not
identify itself as etherbone conformant
*
TIMEOUT
- the remote
host
did not
respond with etherbone
* WIDTH - could not negotiate an acceptable data bus width
* OOM - out of memory
*/
...
...
This diff is collapsed.
Click to expand it.
api/glue/device.c
+
1
−
1
View file @
8e81f070
...
...
@@ -131,7 +131,7 @@ eb_status_t eb_device_open(eb_socket_t socketp, const char* address, eb_width_t
if
(
device
->
widths
==
0
)
{
eb_device_close
(
devicep
);
*
result
=
EB_NULL
;
return
EB_
FAIL
;
return
EB_
TIMEOUT
;
}
device
->
widths
&=
proposed_widths
;
...
...
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