Changeset d7ff048 in mainline for uspace/srv/devman


Ignore:
Timestamp:
2011-10-08T13:08:53Z (15 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
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.
Message:

Merge mainline changes

Location:
uspace/srv/devman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.c

    r8367d1d rd7ff048  
    794794        case EOK:
    795795                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);
    796799                break;
    797800        case ENOENT:
     
    10661069       
    10671070        link = hash_table_find(&tree->devman_devices, &key);
     1071        if (link == NULL)
     1072                return NULL;
     1073       
    10681074        return hash_table_get_instance(link, dev_node_t, devman_dev);
    10691075}
  • uspace/srv/devman/main.c

    r8367d1d rd7ff048  
    634634                                fibril_rwlock_read_unlock(&device_tree.rwlock);
    635635                                dev_del_ref(dev);
     636                                if (gone_rc == EOK)
     637                                        gone_rc = ENOTSUP;
     638                                async_answer_0(callid, gone_rc);
    636639                                return;
    637640                        }
Note: See TracChangeset for help on using the changeset viewer.