Changes in uspace/drv/block/ddisk/ddisk.c [071a1ddb:2fd26bb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/block/ddisk/ddisk.c
r071a1ddb r2fd26bb 64 64 static void ddisk_bd_connection(ipc_callid_t, ipc_call_t *, void *); 65 65 66 static void ddisk_irq_handler(ipc_call _t *, ddf_dev_t *);66 static void ddisk_irq_handler(ipc_callid_t, ipc_call_t *, ddf_dev_t *); 67 67 68 68 static driver_ops_t driver_ops = { … … 176 176 }; 177 177 178 void ddisk_irq_handler(ipc_call _t *icall, ddf_dev_t *dev)178 void ddisk_irq_handler(ipc_callid_t iid, ipc_call_t *icall, ddf_dev_t *dev) 179 179 { 180 180 ddf_msg(LVL_DEBUG, "ddisk_irq_handler(), status=%" PRIx32, … … 503 503 ddisk_irq_commands[0].addr = (void *) &res_phys->status; 504 504 ddisk_irq_commands[3].addr = (void *) &res_phys->command; 505 rc = register_interrupt_handler(dev, ddisk->ddisk_res.irq, 506 ddisk_irq_handler, &ddisk_irq_code, &ddisk->irq_cap); 507 if (rc != EOK) { 505 ddisk->irq_cap = register_interrupt_handler(dev, ddisk->ddisk_res.irq, 506 ddisk_irq_handler, &ddisk_irq_code); 507 if (ddisk->irq_cap < 0) { 508 rc = ddisk->irq_cap; 508 509 ddf_msg(LVL_ERROR, "Failed to register interrupt handler."); 509 510 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.