Changeset 492 for trunk/kernel/devices/dev_nic.c
- Timestamp:
- Aug 22, 2018, 11:55:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_nic.c
r457 r492 43 43 xptr_t pic_xp = chdev_dir.pic; 44 44 45 assert( (pic_xp != XPTR_NULL) , __FUNCTION__ ,"ICU not initialised before NIC" );45 assert( (pic_xp != XPTR_NULL) , "ICU not initialised before NIC" ); 46 46 47 47 // get "impl" , "channel" , "is_rx" fields from chdev descriptor … … 74 74 lid ); 75 75 76 assert( (error == 0) , __FUNCTION__ ,"cannot create server thread" );76 assert( (error == 0) , "cannot create server thread" ); 77 77 78 78 // set "server" field in chdev descriptor … … 112 112 chdev_t * dev_ptr = (chdev_t *)GET_PTR( dev_xp ); 113 113 114 assert( (dev_xp != XPTR_NULL) , __FUNCTION__ ,"undefined NIC chdev descriptor" );115 116 assert( (dev_cxy == local_cxy) , __FUNCTION__ ," chdev must be local" );114 assert( (dev_xp != XPTR_NULL) , "undefined NIC chdev descriptor" ); 115 116 assert( (dev_cxy == local_cxy) , " chdev must be local" ); 117 117 118 118 // initialize command in thread descriptor … … 190 190 chdev_t * dev_ptr = (chdev_t *)GET_PTR( dev_xp ); 191 191 192 assert ( (dev_xp != XPTR_NULL) , __FUNCTION__, "undefined NIC chdev descriptor" );193 194 assert( (dev_cxy == local_cxy) , __FUNCTION__ ," chdev must be local" );192 assert( (dev_xp != XPTR_NULL) , "undefined NIC chdev descriptor" ); 193 194 assert( (dev_cxy == local_cxy) , " chdev must be local" ); 195 195 196 196 // initialize command in thread descriptor
Note: See TracChangeset
for help on using the changeset viewer.