Changeset ff381a7 in mainline for uspace/srv/bd


Ignore:
Timestamp:
2015-11-02T20:54:19Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (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/bd
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/file_bd/file_bd.c

    r3feeab2 rff381a7  
    157157        bd_srvs.ops = &file_bd_ops;
    158158       
    159         async_set_client_connection(file_bd_connection);
     159        async_set_fallback_port_handler(file_bd_connection, NULL);
    160160        int rc = loc_server_register(NAME);
    161161        if (rc != EOK) {
  • uspace/srv/bd/part/guid_part/guid_part.c

    r3feeab2 rff381a7  
    160160        }
    161161
    162         rc = block_init(EXCHANGE_SERIALIZE, indev_sid, 2048);
     162        rc = block_init(indev_sid, 2048);
    163163        if (rc != EOK)  {
    164164                printf(NAME ": could not init libblock.\n");
     
    185185
    186186        /* Register server with location service. */
    187         async_set_client_connection(gpt_connection);
     187        async_set_fallback_port_handler(gpt_connection, NULL);
    188188        rc = loc_server_register(NAME);
    189189        if (rc != EOK) {
     
    339339
    340340        /* Get the device handle. */
    341         dh = IPC_GET_ARG1(*icall);
    342 
    343         /* 
     341        dh = IPC_GET_ARG2(*icall);
     342
     343        /*
    344344         * Determine which partition device is the client connecting to.
    345345         * A linear search is not terribly fast, but we only do this
  • uspace/srv/bd/part/mbr_part/mbr_part.c

    r3feeab2 rff381a7  
    210210        }
    211211
    212         rc = block_init(EXCHANGE_SERIALIZE, indev_sid, 2048);
     212        rc = block_init(indev_sid, 2048);
    213213        if (rc != EOK)  {
    214214                printf(NAME ": could not init libblock.\n");
     
    235235
    236236        /* Register server with location service. */
    237         async_set_client_connection(mbr_connection);
     237        async_set_fallback_port_handler(mbr_connection, NULL);
    238238        rc = loc_server_register(NAME);
    239239        if (rc != EOK) {
     
    416416
    417417        /* Get the device handle. */
    418         dh = IPC_GET_ARG1(*icall);
    419 
    420         /* 
     418        dh = IPC_GET_ARG2(*icall);
     419
     420        /*
    421421         * Determine which partition device is the client connecting to.
    422422         * A linear search is not terribly fast, but we only do this
  • uspace/srv/bd/rd/rd.c

    r3feeab2 rff381a7  
    178178        bd_srvs.ops = &rd_bd_ops;
    179179       
    180         async_set_client_connection(rd_client_conn);
     180        async_set_fallback_port_handler(rd_client_conn, NULL);
    181181        ret = loc_server_register(NAME);
    182182        if (ret != EOK) {
  • uspace/srv/bd/sata_bd/sata_bd.c

    r3feeab2 rff381a7  
    172172
    173173        /* Get the device service ID. */
    174         dsid = IPC_GET_ARG1(*icall);
     174        dsid = IPC_GET_ARG2(*icall);
    175175
    176176        /* Determine which disk device is the client connecting to. */
     
    247247        int rc;
    248248       
    249         async_set_client_connection(sata_bd_connection);
     249        async_set_fallback_port_handler(sata_bd_connection, NULL);
    250250        rc = loc_server_register(NAME);
    251251        if (rc < 0) {
  • uspace/srv/bd/vbd/disk.c

    r3feeab2 rff381a7  
    360360        rc = vbds_disk_by_svcid(sid, &disk);
    361361        if (rc == EOK)
    362                 return EEXISTS;
     362                return EEXIST;
    363363
    364364        disk = calloc(1, sizeof(vbds_disk_t));
     
    374374
    375375        log_msg(LOG_DEFAULT, LVL_DEBUG, "block_init(%zu)", sid);
    376         rc = block_init(EXCHANGE_SERIALIZE, sid, 2048);
     376        rc = block_init(sid, 2048);
    377377        if (rc != EOK) {
    378378                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed opening block device %s.",
     
    872872        log_msg(LOG_DEFAULT, LVL_DEBUG, "vbds_bd_conn()");
    873873
    874         svcid = IPC_GET_ARG1(*icall);
     874        svcid = IPC_GET_ARG2(*icall);
    875875
    876876        log_msg(LOG_DEFAULT, LVL_DEBUG, "vbds_bd_conn() - svcid=%zu", svcid);
  • uspace/srv/bd/vbd/vbd.c

    r3feeab2 rff381a7  
    6464                return rc;
    6565
    66         async_set_client_connection(vbds_client_conn);
     66        async_set_fallback_port_handler(vbds_client_conn, NULL);
    6767
    6868        rc = loc_server_register(NAME);
     
    415415        log_msg(LOG_DEFAULT, LVL_DEBUG, "vbds_client_conn()");
    416416
    417         sid = (service_id_t)IPC_GET_ARG1(*icall);
     417        sid = (service_id_t)IPC_GET_ARG2(*icall);
    418418
    419419        if (sid == ctl_sid)
Note: See TracChangeset for help on using the changeset viewer.