Changes in trunk/kernel/devices/dev_nic.h [3:1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_nic.h
r3 r1 75 75 /**** Forward declarations ****/ 76 76 77 struct chdev_s;77 struct device_s; 78 78 79 79 /****************************************************************************************** … … 137 137 138 138 /****************************************************************************************** 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 *****************************************************************************************/ 145 void dev_nic_init( xptr_t dev_xp ); 150 146 151 147 /****************************************************************************************** … … 223 219 * becomes non empty. 224 220 ****************************************************************************************** 225 * @ dev : local pointer on NIC ch devdescriptor.226 *****************************************************************************************/ 227 void dev_nic_server( struct chdev_s * chdev );221 * @ dev : local pointer on NIC channel device descriptor. 222 *****************************************************************************************/ 223 void dev_nic_server( struct device_s * dev ); 228 224 229 225
Note: See TracChangeset
for help on using the changeset viewer.