Changeset 0d6915f in mainline for uspace/srv/devman/devman.c
- Timestamp:
- 2010-11-26T13:57:51Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ca16307, b12d3cc
- Parents:
- cc70d57
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
rcc70d57 r0d6915f 643 643 644 644 /* Send the device to the driver. */ 645 aid_t req = async_send_1(phone, DRIVER_ADD_DEVICE, node->handle, 646 &answer); 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); 647 653 648 654 /* Send the device's name to the driver. */
Note:
See TracChangeset
for help on using the changeset viewer.