Ignore:
File:
1 edited

Legend:

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

    r854eddd6 r5da7199  
    3838#include <ipc/irc.h>
    3939#include <async.h>
    40 #include <async_obsolete.h>
    4140#include <sysinfo.h>
    4241#include <input.h>
     
    156155static void ns16550_irq_handler(ipc_callid_t iid, ipc_call_t *call)
    157156{
    158         int scan_code = IPC_GET_ARG2(*call);
    159         kbd_push_scancode(kbd_dev, scan_code);
     157        kbd_push_data(kbd_dev, IPC_GET_ARG2(*call));
    160158       
    161         if (irc_service)
    162                 async_obsolete_msg_1(irc_phone, IRC_CLEAR_INTERRUPT,
    163                     IPC_GET_IMETHOD(*call));
     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        }
    164164}
    165165
Note: See TracChangeset for help on using the changeset viewer.