Changeset 8820544 in mainline for uspace/drv/bus/usb/ohci/ohci.c
- Timestamp:
- 2014-08-16T00:02:04Z (10 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/drv/bus/usb/ohci/ohci.c
r83f29e0 r8820544 59 59 /** IRQ handling callback, identifies device 60 60 * 61 * @param[in] dev DDF instance of the device to use.62 61 * @param[in] iid (Unused). 63 62 * @param[in] call Pointer to the call that represents interrupt. 64 */ 65 static void irq_handler(ddf_dev_t *dev, ipc_callid_t iid, ipc_call_t *call) 63 * @param[in] dev DDF instance of the device to use. 64 * 65 */ 66 static void irq_handler(ipc_callid_t iid, ipc_call_t *call, ddf_dev_t *dev) 66 67 { 67 68 assert(dev); 68 69 69 70 ohci_t *ohci = dev_to_ohci(dev); 70 71 if (!ohci) { … … 72 73 return; 73 74 } 75 74 76 const uint16_t status = IPC_GET_ARG1(*call); 75 77 hc_interrupt(&ohci->hc, status);
Note:
See TracChangeset
for help on using the changeset viewer.