Changeset ea28272 in mainline for uspace/srv/net/nil/eth/eth.c


Ignore:
Timestamp:
2010-12-30T13:43:27Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d770deb
Parents:
d70d80ed (diff), f418e51 (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/nil/eth/eth.c

    rd70d80ed rea28272  
    201201
    202202        eth_globals.broadcast_addr =
    203             measured_string_create_bulk("\xFF\xFF\xFF\xFF\xFF\xFF",
    204             CONVERT_SIZE(uint8_t, char, ETH_ADDR));
     203            measured_string_create_bulk("\xFF\xFF\xFF\xFF\xFF\xFF", ETH_ADDR);
    205204        if (!eth_globals.broadcast_addr) {
    206205                rc = ENOMEM;
     
    238237
    239238        while (true) {
    240                 switch (IPC_GET_METHOD(*icall)) {
     239                switch (IPC_GET_IMETHOD(*icall)) {
    241240                case NET_NIL_DEVICE_STATE:
    242241                        nil_device_state_msg_local(0, IPC_GET_DEVICE(icall),
     
    251250                                    IPC_GET_DEVICE(icall), packet, 0);
    252251                        }
    253                         ipc_answer_0(iid, (ipcarg_t) rc);
     252                        ipc_answer_0(iid, (sysarg_t) rc);
    254253                        break;
    255254                default:
    256                         ipc_answer_0(iid, (ipcarg_t) ENOTSUP);
     255                        ipc_answer_0(iid, (sysarg_t) ENOTSUP);
    257256                }
    258257               
     
    849848       
    850849        *answer_count = 0;
    851         switch (IPC_GET_METHOD(*call)) {
     850        switch (IPC_GET_IMETHOD(*call)) {
    852851        case IPC_M_PHONE_HUNGUP:
    853852                return EOK;
     
    926925                 * result.
    927926                 */
    928                 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) ||
     927                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
    929928                    (res == EHANGUP))
    930929                        return;
Note: See TracChangeset for help on using the changeset viewer.