Merge pull request #388 from bobmcwhirter/ethfix
Don't set SAF=true, do set RA=true for Ethernet.
This commit is contained in:
commit
2928b99218
@ -109,7 +109,7 @@ impl<'d, P: PHY, const TX: usize, const RX: usize> Ethernet<'d, P, TX, RX> {
|
||||
mac.maca0hr()
|
||||
.modify(|w| w.set_addrhi(u16::from(mac_addr[4]) | (u16::from(mac_addr[5]) << 8)));
|
||||
|
||||
mac.macpfr().modify(|w| w.set_saf(true));
|
||||
mac.macpfr().modify(|w| w.set_ra(true));
|
||||
mac.macqtx_fcr().modify(|w| w.set_pt(0x100));
|
||||
|
||||
mtl.mtlrx_qomr().modify(|w| w.set_rsf(true));
|
||||
|
Loading…
Reference in New Issue
Block a user