Changeset 8820544 in mainline for uspace/drv/nic/e1k/e1k.c


Ignore:
Timestamp:
2014-08-16T00:02:04Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
35b8bfe, 8cd680c
Parents:
83f29e0
Message:

support for kernel notification multiplexing in the async framework

  • rename SYS_EVENT_* and SYS_IRQ_* syscalls to unify the terminology
  • add SYS_IPC_EVENT_UNSUBSCRIBE
  • remove IRQ handler multiplexing from DDF, the generic mechanism replaces it (unfortunatelly the order of arguments used by interrupt_handler_t needs to be permutated to align with the async framework conventions)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    r83f29e0 r8820544  
    12291229/** Handle device interrupt
    12301230 *
    1231  * @param dev   E1000 device
    12321231 * @param iid   IPC call id
    12331232 * @param icall IPC call structure
    1234  *
    1235  */
    1236 static void e1000_interrupt_handler(ddf_dev_t *dev, ipc_callid_t iid,
    1237     ipc_call_t *icall)
     1233 * @param dev   E1000 device
     1234 *
     1235 */
     1236static void e1000_interrupt_handler(ipc_callid_t iid, ipc_call_t *icall,
     1237    ddf_dev_t *dev)
    12381238{
    12391239        uint32_t icr = (uint32_t) IPC_GET_ARG2(*icall);
Note: See TracChangeset for help on using the changeset viewer.