2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

runtime: temporarily revert ethmac statistics collection.

This commit is contained in:
whitequark 2017-10-30 08:27:51 +00:00
parent ae2d7abbed
commit a66450b0af

View File

@ -96,8 +96,8 @@ impl EthernetStatistics {
pub fn new() -> Self {
unsafe {
EthernetStatistics {
rx_errors: csr::ethmac::crc_errors_read(),
rx_dropped: csr::ethmac::sram_writer_errors_read(),
rx_errors: 0,/*csr::ethmac::crc_errors_read()*/,
rx_dropped: 0,/*csr::ethmac::sram_writer_errors_read()*/,
}
}
}