Changeset ab87db5 in mainline for uspace/drv/nic/ne2k/ne2k.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (6 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

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

    rbc417660 rab87db5  
    5252 *
    5353 */
    54 #define IRQ_GET_ISR(call)  ((int) IPC_GET_ARG2(call))
     54#define IRQ_GET_ISR(call)  ((int) ipc_get_arg2(&call))
    5555
    5656/** Return the TSR from the interrupt call.
     
    5959 *
    6060 */
    61 #define IRQ_GET_TSR(call)  ((int) IPC_GET_ARG3(call))
     61#define IRQ_GET_TSR(call)  ((int) ipc_get_arg3(&call))
    6262
    6363#define DRIVER_DATA(dev) ((nic_t *) ddf_dev_data_get(dev))
Note: See TracChangeset for help on using the changeset viewer.