Changeset e4f8c77 in mainline for uspace/srv/net/nil/eth/eth.h


Ignore:
Timestamp:
2011-07-13T22:39:18Z (13 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6910c8
Parents:
5974661 (diff), 8ecef91 (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 libposix.

File:
1 edited

Legend:

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

    r5974661 re4f8c77  
    3838#define NET_ETH_H_
    3939
     40#include <async.h>
    4041#include <fibril_synch.h>
    4142#include <ipc/services.h>
    42 
    4343#include <net/device.h>
    4444#include <adt/measured_strings.h>
     
    223223        /** Device driver service. */
    224224        services_t service;
    225         /** Driver phone. */
    226         int phone;
     225        /** Driver session. */
     226        async_sess_t *sess;
    227227        /** Maximal transmission unit. */
    228228        size_t mtu;
     
    248248        /** Protocol identifier. */
    249249        int protocol;
    250         /** Protocol module phone. */
    251         int phone;
     250        /** Protocol module session. */
     251        async_sess_t *sess;
    252252};
    253253
    254254/** Ethernet global data. */
    255255struct eth_globals {
    256         /** Networking module phone. */
    257         int net_phone;
     256        /** Networking module session. */
     257        async_sess_t *net_sess;
    258258        /** Safety lock for devices. */
    259259        fibril_rwlock_t devices_lock;
     
    265265        /**
    266266         * Protocol map.
    267          * Service phone map for each protocol.
     267         * Service map for each protocol.
    268268         */
    269269        eth_protos_t protos;
Note: See TracChangeset for help on using the changeset viewer.