From a66450b0af6ad627e37d2818887514412f996002 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 30 Oct 2017 08:27:51 +0000 Subject: [PATCH] runtime: temporarily revert ethmac statistics collection. --- artiq/firmware/runtime/ethmac.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/runtime/ethmac.rs b/artiq/firmware/runtime/ethmac.rs index b2a580a0f..84cbc632c 100644 --- a/artiq/firmware/runtime/ethmac.rs +++ b/artiq/firmware/runtime/ethmac.rs @@ -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()*/, } } }