Changes in uspace/lib/usbhost/src/hcd.c [60744cb:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/hcd.c
r60744cb rfafb8e5 95 95 * TODO: Make the bus mechanism less flexible in irq handling and remove the 96 96 * lookup. 97 * 98 * @param call Interrupt notification 99 * @param arg Argument (hc_device_t *) 100 */ 101 static void irq_handler(ipc_call_t *call, void *arg) 102 { 103 hc_device_t *hcd = (hc_device_t *)arg; 97 */ 98 static void irq_handler(ipc_call_t *call, ddf_dev_t *dev) 99 { 100 assert(dev); 101 hc_device_t *hcd = dev_to_hcd(dev); 104 102 105 103 const uint32_t status = ipc_get_arg1(call); … … 180 178 cap_irq_handle_t ihandle; 181 179 ret = register_interrupt_handler(hcd->ddf_dev, irq, irq_handler, 182 (void *)hcd,&irq_code, &ihandle);180 &irq_code, &ihandle); 183 181 irq_code_clean(&irq_code); 184 182 if (ret != EOK) {
Note:
See TracChangeset
for help on using the changeset viewer.