Changeset b7068da in mainline for uspace/lib/nic/include/nic_driver.h


Ignore:
Timestamp:
2012-02-09T20:35:12Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
591762c6
Parents:
7cede12c (diff), 3d4750f (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/lib/nic/include/nic_driver.h

    r7cede12c rb7068da  
    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 {
     
    7270         */
    7371        ddf_fun_t *fun;
    74         /** Identifier for higher network stack layers */
    75         nic_device_id_t device_id;
    7672        /** Current state of the device */
    7773        nic_device_state_t state;
     
    8278        /** Device's default MAC address (assigned the first time, used in STOP) */
    8379        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;
     80        /** Client callback session */
     81        async_sess_t *client_session;
    8882        /** Phone to APIC or i8259 */
    8983        async_sess_t *irc_session;
     
    134128         * Called with the main_lock locked for reading.
    135129         */
    136         write_packet_handler write_packet;
     130        send_frame_handler send_frame;
    137131        /**
    138132         * Event handler called when device goes to the ACTIVE state.
Note: See TracChangeset for help on using the changeset viewer.