forked from M-Labs/zynq-rs
reduce ethernet verbosity
This commit is contained in:
parent
25c6d5eeaa
commit
a36a82d86d
|
@ -2,7 +2,7 @@ use core::{
|
||||||
marker::PhantomData,
|
marker::PhantomData,
|
||||||
ops::{Deref, DerefMut},
|
ops::{Deref, DerefMut},
|
||||||
};
|
};
|
||||||
use log::{error, info, warn};
|
use log::{debug, info, warn, error};
|
||||||
use libregister::*;
|
use libregister::*;
|
||||||
use super::slcr;
|
use super::slcr;
|
||||||
use super::clocks::Clocks;
|
use super::clocks::Clocks;
|
||||||
|
@ -132,10 +132,10 @@ fn calculate_tx_divisors(tx_clock: u32) -> (u8, u8) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let result = best.unwrap();
|
let result = best.unwrap();
|
||||||
info!("Eth TX clock for {}: {} / {} / {} = {}",
|
debug!("Eth TX clock for {}: {} / {} / {} = {}",
|
||||||
tx_clock, io_pll,
|
tx_clock, io_pll,
|
||||||
result.0, result.1,
|
result.0, result.1,
|
||||||
io_pll / result.0 as u32 / result.1 as u32
|
io_pll / result.0 as u32 / result.1 as u32
|
||||||
);
|
);
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue