Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 991f645 in mainline for uspace/srv/hw/char/i8042/i8042.c


Ignore:
Timestamp:
2010-11-18T17:39:28Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
0b5a4131
Parents:
51a268f
Message:

Rename dev_handle_t to devmap_handle_t and make it explicitly clear that
dev_handle_t is a handle understood by devmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/char/i8042/i8042.c

    r51a268f r991f645  
    145145
    146146                snprintf(name, 16, "%s/ps2%c", NAMESPACE, dchar[i]);
    147                 rc = devmap_device_register(name, &i8042_port[i].dev_handle);
     147                rc = devmap_device_register(name, &i8042_port[i].devmap_handle);
    148148                if (rc != EOK) {
    149149                        devmap_hangup_phone(DEVMAP_DRIVER);
     
    218218        ipc_call_t call;
    219219        ipcarg_t method;
    220         dev_handle_t dh;
     220        devmap_handle_t dh;
    221221        int retval;
    222222        int dev_id, i;
     
    230230        dev_id = -1;
    231231        for (i = 0; i < MAX_DEVS; i++) {
    232                 if (i8042_port[i].dev_handle == dh)
     232                if (i8042_port[i].devmap_handle == dh)
    233233                        dev_id = i;
    234234        }
Note: See TracChangeset for help on using the changeset viewer.