Changeset 973ef9fc in mainline for uspace/srv/net/netif/lo/lo.c


Ignore:
Timestamp:
2010-12-25T21:20:28Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
631ee0c
Parents:
1bfd3d3 (diff), 09178b7f (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/netif/lo/lo.c

    r1bfd3d3 r973ef9fc  
    164164int netif_initialize(void)
    165165{
    166         ipcarg_t phonehash;
    167 
    168         return REGISTER_ME(SERVICE_LO, &phonehash);
     166        sysarg_t phonehash;
     167
     168        return ipc_connect_to_me(PHONE_NS, SERVICE_LO, 0, 0, &phonehash);
    169169}
    170170
     
    185185}
    186186
    187 int netif_send_message(device_id_t device_id, packet_t packet, services_t sender)
     187int netif_send_message(device_id_t device_id, packet_t *packet, services_t sender)
    188188{
    189189        netif_device_t *device;
    190190        size_t length;
    191         packet_t next;
     191        packet_t *next;
    192192        int phone;
    193193        int rc;
     
    262262                 * result.
    263263                 */
    264                 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) ||
     264                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
    265265                    (res == EHANGUP))
    266266                        return;
Note: See TracChangeset for help on using the changeset viewer.