Subversion Repositories HelenOS

Rev

Rev 4345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4345 Rev 4348
Line 110... Line 110...
110
    link_t *item = devices_list.next;
110
    link_t *item = devices_list.next;
111
    devmap_device_t *device = NULL;
111
    devmap_device_t *device = NULL;
112
   
112
   
113
    while (item != &devices_list) {
113
    while (item != &devices_list) {
114
        device = list_get_instance(item, devmap_device_t, devices);
114
        device = list_get_instance(item, devmap_device_t, devices);
115
        if (0 == strcmp(device->name, name))
115
        if (0 == str_cmp(device->name, name))
116
            break;
116
            break;
117
        item = item->next;
117
        item = item->next;
118
    }
118
    }
119
   
119
   
120
    if (item == &devices_list)
120
    if (item == &devices_list)
Line 561... Line 561...
561
        return;
561
        return;
562
    }
562
    }
563
   
563
   
564
    ipc_answer_0(iid, EOK);
564
    ipc_answer_0(iid, EOK);
565
   
565
   
566
    size_t name_size = strlen(device->name);
566
    size_t name_size = str_size(device->name);
567
   
567
   
568
    /* FIXME:
568
    /* FIXME:
569
     * We have no channel from DEVMAP to client, therefore
569
     * We have no channel from DEVMAP to client, therefore
570
     * sending must be initiated by client.
570
     * sending must be initiated by client.
571
     *
571
     *