Changeset 8820544 in mainline for uspace/srv/hid/input/port/pl050.c
- Timestamp:
- 2014-08-16T00:02:04Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 35b8bfe, 8cd680c
- Parents:
- 83f29e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/port/pl050.c
r83f29e0 r8820544 101 101 }; 102 102 103 static void pl050_irq_handler(ipc_callid_t iid, ipc_call_t *call); 103 static void pl050_irq_handler(ipc_callid_t iid, ipc_call_t *call, void *arg) 104 { 105 kbd_push_data(kbd_dev, IPC_GET_ARG2(*call)); 106 } 104 107 105 108 static int pl050_port_init(kbd_dev_t *kdev) … … 119 122 return -1; 120 123 121 async_ set_interrupt_received(pl050_irq_handler);122 irq_register(inr, device_assign_devno(), 0,&pl050_kbd);124 async_irq_subscribe(inr, device_assign_devno(), pl050_irq_handler, NULL, 125 &pl050_kbd); 123 126 124 127 return 0; … … 130 133 } 131 134 132 static void pl050_irq_handler(ipc_callid_t iid, ipc_call_t *call)133 {134 kbd_push_data(kbd_dev, IPC_GET_ARG2(*call));135 }136 137 135 /** 138 136 * @}
Note:
See TracChangeset
for help on using the changeset viewer.