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


Ignore:
Timestamp:
2010-11-19T23:50:06Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
46d4d9f
Parents:
b4c9c61 (diff), a9c6b966 (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

    rb4c9c61 rfdbc3ff  
    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.