This commit is contained in:
Ian McKernan 2025-01-01 21:47:44 -08:00
parent e7c3e1b266
commit 9e9fa1cbef

View File

@ -163,6 +163,11 @@ impl<'d, T: Instance, P: PHY> Ethernet<'d, T, P> {
// TODO: Carrier sense ? ECRSFD // TODO: Carrier sense ? ECRSFD
}); });
// Set the mac to pass all multicast packets
mac.macffr().modify(|w| {
w.set_pam(true);
});
// Note: Writing to LR triggers synchronisation of both LR and HR into the MAC core, // Note: Writing to LR triggers synchronisation of both LR and HR into the MAC core,
// so the LR write must happen after the HR write. // so the LR write must happen after the HR write.
mac.maca0hr() mac.maca0hr()