diff --git a/libboard_zynq/src/eth/mod.rs b/libboard_zynq/src/eth/mod.rs index 8dc0f62..9400958 100644 --- a/libboard_zynq/src/eth/mod.rs +++ b/libboard_zynq/src/eth/mod.rs @@ -350,6 +350,7 @@ impl Eth { impl Eth { pub fn start_rx(self, rx_size: usize) -> Eth { + info!("rx bisect 0"); let new_self = Eth { rx: rx::DescList::new(rx_size), tx: self.tx, @@ -357,15 +358,20 @@ impl Eth { phy: self.phy, idle: self.idle, }; + info!("rx bisect 1"); let list_addr = new_self.rx.list_addr(); + info!("rx bisect 2"); assert!(list_addr & 0b11 == 0); + info!("rx bisect 3"); GEM::regs().rx_qbar.write( regs::RxQbar::zeroed() .rx_q_baseaddr(list_addr >> 2) ); + info!("rx bisect 4"); GEM::regs().net_ctrl.modify(|_, w| w.rx_en(true) ); + info!("rx bisect 5"); new_self }