Changeset ab87db5 in mainline for uspace/drv/char/ns8250/ns8250.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 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/char/ns8250/ns8250.c

    rbc417660 rab87db5  
    10801080{
    10811081        ns8250_t *ns8250 = srv_ns8250(srv);
    1082         sysarg_t method = IPC_GET_IMETHOD(*call);
     1082        sysarg_t method = ipc_get_imethod(call);
    10831083        errno_t ret;
    10841084        unsigned int baud_rate, parity, word_length, stop_bits;
     
    10931093
    10941094        case SERIAL_SET_COM_PROPS:
    1095                 baud_rate = IPC_GET_ARG1(*call);
    1096                 parity = IPC_GET_ARG2(*call);
    1097                 word_length = IPC_GET_ARG3(*call);
    1098                 stop_bits = IPC_GET_ARG4(*call);
     1095                baud_rate = ipc_get_arg1(call);
     1096                parity = ipc_get_arg2(call);
     1097                word_length = ipc_get_arg3(call);
     1098                stop_bits = ipc_get_arg4(call);
    10991099                ret = ns8250_set_props(ns8250->dev, baud_rate, parity, word_length,
    11001100                    stop_bits);
Note: See TracChangeset for help on using the changeset viewer.