Changes in uspace/srv/devman/main.c [f302586:a96a982] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
rf302586 ra96a982 634 634 fibril_rwlock_read_unlock(&device_tree.rwlock); 635 635 dev_del_ref(dev); 636 if (gone_rc == EOK)637 gone_rc = ENOTSUP;638 async_answer_0(callid, gone_rc);639 636 return; 640 637 } … … 1309 1306 1310 1307 /* 1311 * Caution: As the device manager is not a real loc 1312 * driver (it uses a completely different IPC protocol 1313 * than an ordinary loc driver), forwarding a connection 1314 * from client to the devman by location service will 1315 * not work. 1308 * !!! devman_connection ... as the device manager is not a real loc 1309 * driver (it uses a completely different ipc protocol than an ordinary 1310 * loc driver) forwarding a connection from client to the devman by 1311 * location service would not work. 1316 1312 */ 1317 loc_server_register(NAME );1313 loc_server_register(NAME, devman_connection); 1318 1314 1319 1315 return true; … … 1326 1322 if (log_init(NAME, LVL_WARN) != EOK) { 1327 1323 printf(NAME ": Error initializing logging subsystem.\n"); 1324 return -1; 1325 } 1326 1327 if (!devman_init()) { 1328 log_msg(LVL_ERROR, "Error while initializing service."); 1328 1329 return -1; 1329 1330 } … … 1334 1335 async_set_client_connection(devman_connection); 1335 1336 1336 if (!devman_init()) {1337 log_msg(LVL_ERROR, "Error while initializing service.");1338 return -1;1339 }1340 1341 1337 /* Register device manager at naming service. */ 1342 1338 if (service_register(SERVICE_DEVMAN) != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.