Ignore:
File:
1 edited

Legend:

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

    r609243f4 r6b82009  
    11/*
    22 * Copyright (c) 2009 Lukas Mejdrech
    3  * Copyright (c) 2011 Radim Vansa
    43 * All rights reserved.
    54 *
     
    4443#include <net/device.h>
    4544#include <adt/measured_strings.h>
    46 #include <devman.h>
    4745
    4846/** Ethernet address length. */
     
    222220struct eth_device {
    223221        /** Device identifier. */
    224         nic_device_id_t device_id;
    225         /** Device handle */
    226         devman_handle_t handle;
     222        device_id_t device_id;
     223        /** Device driver service. */
     224        services_t service;
    227225        /** Driver session. */
    228226        async_sess_t *sess;
     
    238236       
    239237        /** Actual device hardware address. */
    240         nic_address_t addr;
     238        measured_string_t *addr;
     239       
     240        /** Actual device hardware address data. */
     241        uint8_t *addr_data;
    241242};
    242243
     
    269270       
    270271        /** Broadcast device hardware address. */
    271         uint8_t broadcast_addr[ETH_ADDR];
     272        measured_string_t *broadcast_addr;
    272273};
    273274
Note: See TracChangeset for help on using the changeset viewer.