Changeset d7ff048 in mainline for uspace/srv/devman
- Timestamp:
- 2011-10-08T13:08:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bf08ff0
- Parents:
- 8367d1d (diff), 80099c19 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/devman
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r8367d1d rd7ff048 794 794 case EOK: 795 795 dev->state = DEVICE_USABLE; 796 exch = async_exchange_begin(drv->sess); 797 async_msg_1(exch, DRIVER_DEV_ADDED, dev->handle); 798 async_exchange_end(exch); 796 799 break; 797 800 case ENOENT: … … 1066 1069 1067 1070 link = hash_table_find(&tree->devman_devices, &key); 1071 if (link == NULL) 1072 return NULL; 1073 1068 1074 return hash_table_get_instance(link, dev_node_t, devman_dev); 1069 1075 } -
uspace/srv/devman/main.c
r8367d1d rd7ff048 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); 636 639 return; 637 640 }
Note:
See TracChangeset
for help on using the changeset viewer.
