Changeset 0b749a3 in mainline for uspace/srv/hid/console/console.c


Ignore:
Timestamp:
2010-11-22T15:39:53Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0eddb76, aae339e9
Parents:
9a1d8ab (diff), 8cd1aa5e (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 development/ changes

File:
1 edited

Legend:

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

    r9a1d8ab r0b749a3  
    8282        size_t index;             /**< Console index */
    8383        size_t refcount;          /**< Connection reference count */
    84         dev_handle_t dev_handle;  /**< Device handle */
     84        devmap_handle_t devmap_handle;  /**< Device handle */
    8585        keybuffer_t keybuffer;    /**< Buffer for incoming keys. */
    8686        screenbuffer_t scr;       /**< Screenbuffer for saving screen
     
    571571                        continue;
    572572               
    573                 if (consoles[i].dev_handle == (dev_handle_t) IPC_GET_ARG1(*icall)) {
     573                if (consoles[i].devmap_handle == (devmap_handle_t) IPC_GET_ARG1(*icall)) {
    574574                        cons = &consoles[i];
    575575                        break;
     
    815815                        snprintf(vc, DEVMAP_NAME_MAXLEN, "%s/vc%u", NAMESPACE, i);
    816816                       
    817                         if (devmap_device_register(vc, &consoles[i].dev_handle) != EOK) {
     817                        if (devmap_device_register(vc, &consoles[i].devmap_handle) != EOK) {
    818818                                devmap_hangup_phone(DEVMAP_DRIVER);
    819819                                printf(NAME ": Unable to register device %s\n", vc);
Note: See TracChangeset for help on using the changeset viewer.