Changeset ff381a7 in mainline for uspace/srv/hid/console/console.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (9 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/console/console.c

    r3feeab2 rff381a7  
    508508       
    509509        for (size_t i = 0; i < CONSOLE_COUNT; i++) {
    510                 if (consoles[i].dsid == (service_id_t) IPC_GET_ARG1(*icall)) {
     510                if (consoles[i].dsid == (service_id_t) IPC_GET_ARG2(*icall)) {
    511511                        cons = &consoles[i];
    512512                        break;
     
    536536        }
    537537
    538         sess = loc_service_connect(EXCHANGE_ATOMIC, dsid, 0);
     538        sess = loc_service_connect(dsid, INTERFACE_INPUT, 0);
    539539        if (sess == NULL) {
    540540                printf("%s: Unable to connect to input service %s\n", NAME,
     
    561561        int rc = loc_service_get_id(svc, &dsid, 0);
    562562        if (rc == EOK) {
    563                 sess = loc_service_connect(EXCHANGE_SERIALIZE, dsid, 0);
     563                sess = loc_service_connect(dsid, INTERFACE_OUTPUT, 0);
    564564                if (sess == NULL) {
    565565                        printf("%s: Unable to connect to output service %s\n",
     
    586586       
    587587        /* Register server */
    588         async_set_client_connection(client_connection);
     588        async_set_fallback_port_handler(client_connection, NULL);
    589589        rc = loc_server_register(NAME);
    590590        if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.