Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_nic.h

    r3 r1  
    7575/****  Forward declarations  ****/
    7676
    77 struct chdev_s;
     77struct device_s;
    7878
    7979/******************************************************************************************
     
    137137
    138138/******************************************************************************************
    139  * This function completes the NIC-RX and NIC-TX chdev descriptors initialisation.
    140  * namely the link with the implementation specific driver.
    141  * The func, impl, channel, is_rx, base fields have been previously initialised.
    142  * It calls the specific driver initialisation function, to initialise the hardware
    143  * device and the specific data structures when required.
    144  * It creates the associated server thread and allocates a WTI from local ICU.
    145  * It must de executed by a local thread.
    146  ******************************************************************************************
    147  * @ chdev    : local pointer on NIC chdev descriptor.
    148  *****************************************************************************************/
    149 void dev_nic_init( struct chdev_s * chdev );
     139 * This function completes the NIC-RX and NIC-TX devices descriptors initialisation.
     140 * The func, impl, channel, is_rx, base, and size have been previously initialised.
     141 * It calls the driver initialisation function.
     142 ******************************************************************************************
     143 * @ dev_xp     : extended pointer on NIC-RX or NIC-TX device descriptor.
     144 *****************************************************************************************/
     145void dev_nic_init( xptr_t  dev_xp );
    150146
    151147/******************************************************************************************
     
    223219 * becomes non empty.
    224220 ******************************************************************************************
    225  * @ dev     : local pointer on NIC chdev descriptor.
    226  *****************************************************************************************/
    227 void dev_nic_server( struct chdev_s * chdev );
     221 * @ dev     : local pointer on NIC channel device descriptor.
     222 *****************************************************************************************/
     223void dev_nic_server( struct device_s * dev );
    228224
    229225
Note: See TracChangeset for help on using the changeset viewer.