Changeset 3 for trunk/kernel/devices/dev_nic.h
- Timestamp:
- Apr 26, 2017, 2:08:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_nic.h
r1 r3 75 75 /**** Forward declarations ****/ 76 76 77 struct device_s;77 struct chdev_s; 78 78 79 79 /****************************************************************************************** … … 137 137 138 138 /****************************************************************************************** 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 ); 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 ); 146 150 147 151 /****************************************************************************************** … … 219 223 * becomes non empty. 220 224 ****************************************************************************************** 221 * @ dev : local pointer on NIC ch annel devicedescriptor.222 *****************************************************************************************/ 223 void dev_nic_server( struct device_s *dev );225 * @ dev : local pointer on NIC chdev descriptor. 226 *****************************************************************************************/ 227 void dev_nic_server( struct chdev_s * chdev ); 224 228 225 229
Note: See TracChangeset
for help on using the changeset viewer.