git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modules/UDI - Buffer delete, chained CB support
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Interfaces
/
UDI
/
udi_lib
/
core
/
meta_mgmt.c
diff --git
a/KernelLand/Modules/Interfaces/UDI/udi_lib/core/meta_mgmt.c
b/KernelLand/Modules/Interfaces/UDI/udi_lib/core/meta_mgmt.c
index
ab8f68a
..
7db637f
100644
(file)
--- a/
KernelLand/Modules/Interfaces/UDI/udi_lib/core/meta_mgmt.c
+++ b/
KernelLand/Modules/Interfaces/UDI/udi_lib/core/meta_mgmt.c
@@
-22,12
+22,12
@@
EXPORT(udi_final_cleanup_ack);
tUDI_MetaLang cMetaLang_Management = {
"udi_mgmt",
tUDI_MetaLang cMetaLang_Management = {
"udi_mgmt",
-
+ NULL,
3,
{
3,
{
- {sizeof(udi_enumerate_cb_t), NULL},
- {sizeof(udi_usage_cb_t), NULL},
- {sizeof(udi_channel_event_cb_t), NULL},
+ {sizeof(udi_enumerate_cb_t),
0,
NULL},
+ {sizeof(udi_usage_cb_t),
0,
NULL},
+ {sizeof(udi_channel_event_cb_t),
0,
NULL},
}
};
}
};
@@
-91,13
+91,16
@@
void udi_enumerate_ack(udi_enumerate_cb_t *cb, udi_ubit8_t enumeration_result, u
switch(at->attr_type)
{
case UDI_ATTR_STRING:
switch(at->attr_type)
{
case UDI_ATTR_STRING:
- LOG("[%i] String '%.*s'", i, at->attr_length, at->attr_value);
+ LOG("[%i] %s String '%.*s'", i, at->attr_name,
+ at->attr_length, at->attr_value);
break;
case UDI_ATTR_UBIT32:
break;
case UDI_ATTR_UBIT32:
- LOG("[%i] UBit32 0x%08x", i, UDI_ATTR32_GET(at->attr_value));
+ LOG("[%i] %s UBit32 0x%08x", i, at->attr_name,
+ UDI_ATTR32_GET(at->attr_value));
break;
default:
break;
default:
- LOG("[%i] %i", i, at->attr_type);
+ LOG("[%i] %s %i", i, at->attr_name,
+ at->attr_type);
break;
}
}
break;
}
}
UCC
git Repository :: git.ucc.asn.au