Changeset 87b4baac in mainline for uspace/srv/hw


Ignore:
Timestamp:
2010-12-17T20:16:46Z (15 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
424558a
Parents:
463e734 (diff), bbc74af7 (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/hw
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/cuda_adb/cuda_adb.c

    r463e734 r87b4baac  
    195195        ipc_callid_t callid;
    196196        ipc_call_t call;
    197         ipcarg_t method;
     197        sysarg_t method;
    198198        devmap_handle_t dh;
    199199        int retval;
     
    220220        while (1) {
    221221                callid = async_get_call(&call);
    222                 method = IPC_GET_METHOD(call);
     222                method = IPC_GET_IMETHOD(call);
    223223                switch (method) {
    224224                case IPC_M_PHONE_HUNGUP:
  • uspace/srv/hw/char/i8042/i8042.c

    r463e734 r87b4baac  
    219219        ipc_callid_t callid;
    220220        ipc_call_t call;
    221         ipcarg_t method;
     221        sysarg_t method;
    222222        devmap_handle_t dh;
    223223        int retval;
     
    248248        while (1) {
    249249                callid = async_get_call(&call);
    250                 method = IPC_GET_METHOD(call);
     250                method = IPC_GET_IMETHOD(call);
    251251                switch (method) {
    252252                case IPC_M_PHONE_HUNGUP:
  • uspace/srv/hw/char/s3c24xx_uart/s3c24xx_uart.c

    r463e734 r87b4baac  
    116116        ipc_callid_t callid;
    117117        ipc_call_t call;
    118         ipcarg_t method;
     118        sysarg_t method;
    119119        int retval;
    120120
     
    124124        while (1) {
    125125                callid = async_get_call(&call);
    126                 method = IPC_GET_METHOD(call);
     126                method = IPC_GET_IMETHOD(call);
    127127                switch (method) {
    128128                case IPC_M_PHONE_HUNGUP:
  • uspace/srv/hw/cir/fhc/fhc.c

    r463e734 r87b4baac  
    8282       
    8383                callid = async_get_call(&call);
    84                 switch (IPC_GET_METHOD(call)) {
     84                switch (IPC_GET_IMETHOD(call)) {
    8585                case BUS_CLEAR_INTERRUPT:
    8686                        inr = IPC_GET_ARG1(call);
     
    133133       
    134134        async_set_client_connection(fhc_connection);
    135         ipcarg_t phonead;
     135        sysarg_t phonead;
    136136        ipc_connect_to_me(PHONE_NS, SERVICE_FHC, 0, 0, &phonead);
    137137       
  • uspace/srv/hw/cir/obio/obio.c

    r463e734 r87b4baac  
    9292       
    9393                callid = async_get_call(&call);
    94                 switch (IPC_GET_METHOD(call)) {
     94                switch (IPC_GET_IMETHOD(call)) {
    9595                case BUS_CLEAR_INTERRUPT:
    9696                        inr = IPC_GET_ARG1(call);
     
    134134       
    135135        async_set_client_connection(obio_connection);
    136         ipcarg_t phonead;
     136        sysarg_t phonead;
    137137        ipc_connect_to_me(PHONE_NS, SERVICE_OBIO, 0, 0, &phonead);
    138138       
  • uspace/srv/hw/netif/dp8390/dp8390_module.c

    r463e734 r87b4baac  
    6363 *  @param[in] call The interrupt call.
    6464 */
    65 #define IRQ_GET_DEVICE(call)                    (device_id_t) IPC_GET_METHOD(*call)
     65#define IRQ_GET_DEVICE(call)                    (device_id_t) IPC_GET_IMETHOD(*call)
    6666
    6767/** Returns the interrupt status register from the interrupt call.
     
    197197                return rc;
    198198        address->value = (char *) (&((dpeth_t *) device->specific)->de_address);
    199         address->length = CONVERT_SIZE(ether_addr_t, char, 1);
     199        address->length = sizeof(ether_addr_t);
    200200        return EOK;
    201201}
     
    306306
    307307int netif_initialize(void){
    308         ipcarg_t phonehash;
     308        sysarg_t phonehash;
    309309
    310310        async_set_interrupt_received(irq_handler);
    311311
    312         return REGISTER_ME(SERVICE_DP8390, &phonehash);
     312        return ipc_connect_to_me(PHONE_NS, SERVICE_DP8390, 0, 0, &phonehash);
    313313}
    314314
     
    343343               
    344344                /* End if said to either by the message or the processing result */
    345                 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP))
     345                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || (res == EHANGUP))
    346346                        return;
    347347               
Note: See TracChangeset for help on using the changeset viewer.