Changes in uspace/srv/devman/devman.c [0d6915f:4087a33] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r0d6915f r4087a33 117 117 printf(NAME": the '%s' driver was added to the list of available " 118 118 "drivers.\n", drv->name); 119 120 printf(NAME ": match ids:"); 121 link_t *cur; 122 for (cur = drv->match_ids.ids.next; cur != &drv->match_ids.ids; cur = cur->next) { 123 match_id_t *match_id = list_get_instance(cur, match_id_t, link); 124 printf(" %d:%s", match_id->score, match_id->id); 125 } 126 printf("\n"); 119 127 } 120 128 … … 643 651 644 652 /* Send the device to the driver. */ 645 devman_handle_t parent_handle; 646 if (node->parent) { 647 parent_handle = node->parent->handle; 648 } else { 649 parent_handle = 0; 650 } 651 aid_t req = async_send_2(phone, DRIVER_ADD_DEVICE, node->handle, 652 parent_handle, &answer); 653 aid_t req = async_send_1(phone, DRIVER_ADD_DEVICE, node->handle, 654 &answer); 653 655 654 656 /* Send the device's name to the driver. */
Note:
See TracChangeset
for help on using the changeset viewer.