Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/intctl/i8259/i8259.c

    rfafb8e5 rbeb83c1  
    108108                async_get_call(&call);
    109109
    110                 if (!ipc_get_imethod(&call)) {
     110                if (!IPC_GET_IMETHOD(call)) {
    111111                        /* The other side has hung up. */
    112112                        async_answer_0(&call, EOK);
     
    114114                }
    115115
    116                 switch (ipc_get_imethod(&call)) {
     116                switch (IPC_GET_IMETHOD(call)) {
    117117                case IRC_ENABLE_INTERRUPT:
    118118                        async_answer_0(&call, pic_enable_irq(i8259,
    119                             ipc_get_arg1(&call)));
     119                            IPC_GET_ARG1(call)));
    120120                        break;
    121121                case IRC_DISABLE_INTERRUPT:
     
    142142        ddf_fun_t *fun_a = NULL;
    143143        errno_t rc;
    144         bool bound = false;
    145144
    146145        if ((sysinfo_get_value("i8259", &have_i8259) != EOK) || (!have_i8259)) {
     
    175174        }
    176175
    177         bound = true;
    178 
    179176        rc = ddf_fun_add_to_category(fun_a, "irc");
    180177        if (rc != EOK)
     
    183180        return EOK;
    184181error:
    185         if (bound)
    186                 ddf_fun_unbind(fun_a);
    187182        if (fun_a != NULL)
    188183                ddf_fun_destroy(fun_a);
Note: See TracChangeset for help on using the changeset viewer.