Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/port/ns16550.c

    r5da7199 r854eddd6  
    3838#include <ipc/irc.h>
    3939#include <async.h>
     40#include <async_obsolete.h>
    4041#include <sysinfo.h>
    4142#include <input.h>
     
    155156static void ns16550_irq_handler(ipc_callid_t iid, ipc_call_t *call)
    156157{
    157         kbd_push_data(kbd_dev, IPC_GET_ARG2(*call));
     158        int scan_code = IPC_GET_ARG2(*call);
     159        kbd_push_scancode(kbd_dev, scan_code);
    158160       
    159         if (irc_service) {
    160                 async_exch_t *exch = async_exchange_begin(irc_sess);
    161                 async_msg_1(exch, IRC_CLEAR_INTERRUPT, IPC_GET_IMETHOD(*call));
    162                 async_exchange_end(exch);
    163         }
     161        if (irc_service)
     162                async_obsolete_msg_1(irc_phone, IRC_CLEAR_INTERRUPT,
     163                    IPC_GET_IMETHOD(*call));
    164164}
    165165
Note: See TracChangeset for help on using the changeset viewer.