Changeset 9f6c5ef0 in mainline
- Timestamp:
- 2010-12-10T16:15:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0995cd6
- Parents:
- a880374
- Location:
- uspace
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/root/root.c
ra880374 r9f6c5ef0 87 87 88 88 int res = child_device_register_wrapper(parent, VIRTUAL_DEVICE_NAME, 89 VIRTUAL_DEVICE_MATCH_ID, VIRTUAL_DEVICE_MATCH_SCORE); 89 VIRTUAL_DEVICE_MATCH_ID, VIRTUAL_DEVICE_MATCH_SCORE, 90 NULL); 90 91 91 92 return res; … … 104 105 105 106 int res = child_device_register_wrapper(parent, PLATFORM_DEVICE_NAME, 106 PLATFORM_DEVICE_MATCH_ID, PLATFORM_DEVICE_MATCH_SCORE); 107 PLATFORM_DEVICE_MATCH_ID, PLATFORM_DEVICE_MATCH_SCORE, 108 NULL); 107 109 108 110 return res; -
uspace/drv/rootvirt/rootvirt.c
ra880374 r9f6c5ef0 84 84 85 85 int rc = child_device_register_wrapper(parent, virt_dev->name, 86 virt_dev->match_id, 10 );86 virt_dev->match_id, 10, NULL); 87 87 88 88 if (rc == EOK) { -
uspace/drv/test1/test1.c
ra880374 r9f6c5ef0 64 64 65 65 int rc = child_device_register_wrapper(parent, name, 66 match_id, match_score );66 match_id, match_score, NULL); 67 67 68 68 if (rc == EOK) { -
uspace/drv/test2/test2.c
ra880374 r9f6c5ef0 64 64 65 65 int rc = child_device_register_wrapper(parent, name, 66 match_id, match_score );66 match_id, match_score, NULL); 67 67 68 68 if (rc == EOK) { -
uspace/lib/drv/generic/driver.c
ra880374 r9f6c5ef0 390 390 */ 391 391 int child_device_register_wrapper(device_t *parent, const char *child_name, 392 const char *child_match_id, int child_match_score) 392 const char *child_match_id, int child_match_score, 393 devman_handle_t *child_handle) 393 394 { 394 395 device_t *child = NULL; … … 418 419 goto failure; 419 420 421 if (child_handle != NULL) { 422 *child_handle = child->handle; 423 } 420 424 return EOK; 421 425 -
uspace/lib/drv/include/driver.h
ra880374 r9f6c5ef0 199 199 200 200 int child_device_register(device_t *, device_t *); 201 int child_device_register_wrapper(device_t *, const char *, const char *, int); 201 int child_device_register_wrapper(device_t *, const char *, const char *, int, 202 devman_handle_t *); 202 203 203 204
Note:
See TracChangeset
for help on using the changeset viewer.