Changeset 2480e19 in mainline for uspace/srv/devman/main.c
- Timestamp:
- 2010-04-08T14:04:48Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d1fc8f0
- Parents:
- 89ce401a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
r89ce401a r2480e19 142 142 } 143 143 144 ipc_answer_0(callid, EOK); 145 144 146 match_id->score = IPC_GET_ARG1(call); 145 147 … … 147 149 if (EOK != rc) { 148 150 delete_match_id(match_id); 151 printf(NAME ": devman_receive_match_id - failed to receive match id string.\n"); 149 152 return rc; 150 153 } … … 157 160 158 161 static int devman_receive_match_ids(ipcarg_t match_count, match_id_list_t *match_ids) 159 { 162 { 160 163 int ret = EOK; 161 164 size_t i; … … 170 173 static void devman_add_child(ipc_callid_t callid, ipc_call_t *call, driver_t *driver) 171 174 { 172 printf(NAME ": devman_add_child\n");175 // printf(NAME ": devman_add_child\n"); 173 176 174 177 device_handle_t parent_handle = IPC_GET_ARG1(*call); … … 188 191 return; 189 192 } 190 printf(NAME ": newly added child device's name is '%s'.\n", dev_name);193 // printf(NAME ": newly added child device's name is '%s'.\n", dev_name); 191 194 192 195 node_t *node = create_dev_node(); … … 196 199 return; 197 200 } 201 202 printf(NAME ": devman_add_child %s\n", node->pathname); 198 203 199 204 devman_receive_match_ids(match_count, &node->match_ids); … … 261 266 262 267 device_handle_t handle = IPC_GET_ARG2(*icall); 263 printf(NAME ": devman_forward - trying to forward connection to device with handle %x.\n", handle);268 // printf(NAME ": devman_forward - trying to forward connection to device with handle %x.\n", handle); 264 269 265 270 node_t *dev = find_dev_node(&device_tree, handle); … … 297 302 return; 298 303 } 299 printf(NAME ": devman_forward: forward to driver %s with phone %d.\n", driver->name, driver->phone); 304 printf(NAME ": devman_forward: forward connection to device %s to driver %s with phone %d.\n", 305 dev->pathname, driver->name, driver->phone); 300 306 ipc_forward_fast(iid, driver->phone, method, dev->handle, 0, IPC_FF_NONE); 301 307 }
Note:
See TracChangeset
for help on using the changeset viewer.