Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
EtherBone Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
EtherBone Core
Commits
ade1b729
Commit
ade1b729
authored
Jun 03, 2015
by
Mathias Kreider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api: changed signature of find...at function to match convention
parent
886094cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
etherbone.h
api/etherbone.h
+6
-1
sdb.c
api/glue/sdb.c
+1
-2
No files found.
api/etherbone.h
View file @
ade1b729
...
...
@@ -626,7 +626,12 @@ EB_PUBLIC eb_status_t eb_sdb_find_by_address(eb_device_t device, eb_address_t ad
*/
EB_PUBLIC
eb_status_t
eb_sdb_find_by_identity
(
eb_device_t
device
,
uint64_t
vendor_id
,
uint32_t
device_id
,
struct
sdb_device
*
output
,
int
*
devices
);
EB_PUBLIC
eb_status_t
eb_sdb_find_by_identity_at
(
eb_device_t
device
,
uint64_t
vendor_id
,
uint32_t
device_id
,
struct
sdb_device
*
output
,
int
*
devices
,
const
struct
sdb_bridge
*
bridge
);
/* Similar to eb_sdb_find_by_identity, but the root of the SDB tree to be searched can be specified.
* eb_sdb_find_by_identity now supports finding crossbars, use it to find special CBs and use them as
* root node for eb_sdb_find_by_identity_at.
*/
EB_PUBLIC
eb_status_t
eb_sdb_find_by_identity_at
(
eb_device_t
device
,
const
struct
sdb_bridge
*
bridge
,
uint64_t
vendor_id
,
uint32_t
device_id
,
struct
sdb_device
*
output
,
int
*
devices
);
#ifdef __cplusplus
}
...
...
api/glue/sdb.c
View file @
ade1b729
...
...
@@ -652,8 +652,7 @@ eb_status_t eb_sdb_find_by_identity(eb_device_t device, uint64_t vendor_id, uint
return
record
.
status
;
}
eb_status_t
eb_sdb_find_by_identity_at
(
eb_device_t
device
,
uint64_t
vendor_id
,
uint32_t
device_id
,
struct
sdb_device
*
output
,
int
*
devices
,
const
struct
sdb_bridge
*
bridge
)
{
eb_status_t
eb_sdb_find_by_identity_at
(
eb_device_t
device
,
const
struct
sdb_bridge
*
bridge
,
uint64_t
vendor_id
,
uint32_t
device_id
,
struct
sdb_device
*
output
,
int
*
devices
)
{
struct
eb_find_by_identity
record
;
record
.
vendor_id
=
vendor_id
;
...
...
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