Changeset 357b5f5 in mainline for uspace/srv/hid/kbd


Ignore:
Timestamp:
2011-01-23T20:09:13Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
fdb9982c
Parents:
cead2aa (diff), 7e36c8d (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/hid/kbd
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/kbd/generic/kbd.c

    rcead2aa r357b5f5  
    177177        while (1) {
    178178                callid = async_get_call(&call);
    179                 switch (IPC_GET_METHOD(call)) {
     179                switch (IPC_GET_IMETHOD(call)) {
    180180                case IPC_M_PHONE_HUNGUP:
    181181                        if (client_phone != -1) {
  • uspace/srv/hid/kbd/port/adb.c

    rcead2aa r357b5f5  
    7171
    7272        /* NB: The callback connection is slotted for removal */
    73         ipcarg_t phonehash;
     73        sysarg_t phonehash;
    7474        if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
    7575                printf(NAME ": Failed to create callback from device\n");
     
    105105                int retval;
    106106
    107                 switch (IPC_GET_METHOD(call)) {
     107                switch (IPC_GET_IMETHOD(call)) {
    108108                case IPC_M_PHONE_HUNGUP:
    109109                        /* TODO: Handle hangup */
  • uspace/srv/hid/kbd/port/chardev.c

    rcead2aa r357b5f5  
    9191
    9292        /* NB: The callback connection is slotted for removal */
    93         ipcarg_t phonehash;
     93        sysarg_t phonehash;
    9494        if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) {
    9595                printf(NAME ": Failed to create callback from device\n");
     
    125125                int retval;
    126126
    127                 switch (IPC_GET_METHOD(call)) {
     127                switch (IPC_GET_IMETHOD(call)) {
    128128                case IPC_M_PHONE_HUNGUP:
    129129                        /* TODO: Handle hangup */
  • uspace/srv/hid/kbd/port/ns16550.c

    rcead2aa r357b5f5  
    3636
    3737#include <ipc/ipc.h>
    38 #include <ipc/bus.h>
     38#include <ipc/irc.h>
    3939#include <async.h>
    4040#include <sysinfo.h>
     
    122122       
    123123        if (cir_service)
    124                 async_msg_1(cir_phone, BUS_CLEAR_INTERRUPT,
    125                     IPC_GET_METHOD(*call));
     124                async_msg_1(cir_phone, IRC_CLEAR_INTERRUPT,
     125                    IPC_GET_IMETHOD(*call));
    126126}
    127127
  • uspace/srv/hid/kbd/port/z8530.c

    rcead2aa r357b5f5  
    3636
    3737#include <ipc/ipc.h>
    38 #include <ipc/bus.h>
     38#include <ipc/irc.h>
    3939#include <async.h>
    4040#include <sysinfo.h>
     
    110110       
    111111        if (cir_service)
    112                 async_msg_1(cir_phone, BUS_CLEAR_INTERRUPT,
    113                     IPC_GET_METHOD(*call));
     112                async_msg_1(cir_phone, IRC_CLEAR_INTERRUPT,
     113                    IPC_GET_IMETHOD(*call));
    114114}
    115115
Note: See TracChangeset for help on using the changeset viewer.