Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/include/nic_driver.h

    r00d7e1b rcf9cb36  
    4444
    4545#include <fibril_synch.h>
    46 #include <net/device.h>
     46#include <nic/nic.h>
    4747#include <async.h>
    4848
     
    5050#include "nic_rx_control.h"
    5151#include "nic_wol_virtues.h"
    52 
    53 #define DEVICE_CATEGORY_NIC "nic"
    5452
    5553struct sw_poll_info {
     
    8280        /** Device's default MAC address (assigned the first time, used in STOP) */
    8381        nic_address_t default_mac;
    84         /** Session to SERVICE_NETWORKING */
    85         async_sess_t *net_session;
    86         /** Session to SERVICE_ETHERNET or SERVICE_NILDUMMY */
    87         async_sess_t *nil_session;
     82        /** Client callback session */
     83        async_sess_t *client_session;
    8884        /** Phone to APIC or i8259 */
    8985        async_sess_t *irc_session;
     
    134130         * Called with the main_lock locked for reading.
    135131         */
    136         write_packet_handler write_packet;
     132        send_frame_handler send_frame;
    137133        /**
    138134         * Event handler called when device goes to the ACTIVE state.
Note: See TracChangeset for help on using the changeset viewer.