Subversion Repositories HelenOS

Rev

Rev 4192 | Rev 4261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4192 Rev 4197
Line 121... Line 121...
121
    stats->tx_window_errors = de_stat->ets_OWC;
121
    stats->tx_window_errors = de_stat->ets_OWC;
122
    return EOK;
122
    return EOK;
123
}
123
}
124
 
124
 
125
void netif_print_name( void ){
125
void netif_print_name( void ){
126
    printf( NAME );
126
    printf( "%s", NAME );
127
}
127
}
128
 
128
 
129
int get_addr_message( device_id_t device_id, measured_string_ref address ){
129
int get_addr_message( device_id_t device_id, measured_string_ref address ){
130
    ERROR_DECLARE;
130
    ERROR_DECLARE;
131
 
131
 
Line 215... Line 215...
215
 
215
 
216
    device_ref  device;
216
    device_ref  device;
217
    dpeth_t *   dep;
217
    dpeth_t *   dep;
218
    packet_t    next;
218
    packet_t    next;
219
 
219
 
220
    ERROR_PROPAGATE( find_device( IPC_GET_DEVICE( call ), & device ));
220
    ERROR_PROPAGATE( find_device( device_id, & device ));
221
    dep = ( dpeth_t * ) device->specific;
221
    dep = ( dpeth_t * ) device->specific;
222
    // process packet queue
222
    // process packet queue
223
    do{
223
    do{
224
        next = pq_detach( packet );
224
        next = pq_detach( packet );
225
        if( do_pwrite( dep, packet, FALSE ) != EBUSY ){
225
        if( do_pwrite( dep, packet, FALSE ) != EBUSY ){