Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4727 → Rev 4728

/branches/network/uspace/srv/net/netif/dp8390/dp8390_module.c
106,18 → 106,18
ERROR_PROPAGATE( find_device( device_id, & device ));
de_stat = & (( dpeth_t * ) device->specific )->de_stat;
null_device_stats( stats );
stats->rx_errors = de_stat->ets_recvErr;
stats->tx_errors = de_stat->ets_sendErr;
stats->rx_crc_errors = de_stat->ets_CRCerr;
stats->rx_frame_errors = de_stat->ets_frameAll;
stats->rx_missed_errors = de_stat->ets_missedP;
stats->rx_packets = de_stat->ets_packetR;
stats->tx_packets = de_stat->ets_packetT;
stats->receive_errors = de_stat->ets_recvErr;
stats->send_errors = de_stat->ets_sendErr;
stats->receive_crc_errors = de_stat->ets_CRCerr;
stats->receive_frame_errors = de_stat->ets_frameAll;
stats->receive_missed_errors = de_stat->ets_missedP;
stats->receive_packets = de_stat->ets_packetR;
stats->send_packets = de_stat->ets_packetT;
stats->collisions = de_stat->ets_collision;
stats->tx_aborted_errors = de_stat->ets_transAb;
stats->tx_carrier_errors = de_stat->ets_carrSense;
stats->tx_heartbeat_errors = de_stat->ets_CDheartbeat;
stats->tx_window_errors = de_stat->ets_OWC;
stats->send_aborted_errors = de_stat->ets_transAb;
stats->send_carrier_errors = de_stat->ets_carrSense;
stats->send_heartbeat_errors = de_stat->ets_CDheartbeat;
stats->send_window_errors = de_stat->ets_OWC;
return EOK;
}