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:
parent
ae2d7abbed
commit
a66450b0af
@ -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()*/,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user