Changeset 609243f4 in mainline for uspace/lib/drv/include


Ignore:
Timestamp:
2011-10-07T15:46:01Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2c50e1
Parents:
f51b1d3
Message:

cherrypick general networking improvements from lp:~helenos-nicf/helenos/nicf (after sanitization)
remove obsolete networking drivers
this renders the networking non-functional for the time being

Location:
uspace/lib/drv/include
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/ddf/driver.h

    rf51b1d3 r609243f4  
    137137        /** Callback method for passing a new device to the device driver */
    138138        int (*add_device)(ddf_dev_t *);
     139        /**
     140         * Notification that the device was succesfully added.
     141         * The driver can do any blocking operation without
     142         * blocking the device manager.
     143         */
     144        void (*device_added)(ddf_dev_t *dev);
    139145        /** Ask driver to remove a device */
    140146        int (*dev_remove)(ddf_dev_t *);
  • uspace/lib/drv/include/remote_nic.h

    rf51b1d3 r609243f4  
    11/*
    2  * Copyright (c) 2009 Lukas Mejdrech
     2 * Copyright (c) 2011 Radim Vansa
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup libnet
     29/** @addtogroup libdrv
    3030 * @{
    3131 */
     32/** @file
     33 */
    3234
    33 #ifndef LIBNET_NETIF_REMOTE_H_
    34 #define LIBNET_NETIF_REMOTE_H_
     35#ifndef LIBDRV_REMOTE_NIC_H_
     36#define LIBDRV_REMOTE_NIC_H_
    3537
    36 #include <ipc/services.h>
    37 #include <adt/measured_strings.h>
    38 #include <net/device.h>
    39 #include <net/packet.h>
    40 #include <async.h>
    41 
    42 extern int netif_get_addr_req(async_sess_t *, device_id_t, measured_string_t **,
    43     uint8_t **);
    44 extern int netif_probe_req(async_sess_t *, device_id_t, int, void *);
    45 extern int netif_send_msg(async_sess_t *, device_id_t, packet_t *, services_t);
    46 extern int netif_start_req(async_sess_t *, device_id_t);
    47 extern int netif_stop_req(async_sess_t *, device_id_t);
    48 extern int netif_stats_req(async_sess_t *, device_id_t, device_stats_t *);
    49 extern async_sess_t *netif_bind_service(services_t, device_id_t, services_t,
    50     async_client_conn_t);
     38extern remote_iface_t remote_nic_iface;
    5139
    5240#endif
    5341
    54 /** @}
     42/**
     43 * @}
    5544 */
Note: See TracChangeset for help on using the changeset viewer.