Currently, the MAC is always configured for Fast Ethernet Speed and Full duplex. This means, AFAICT, that it will never work with a PHY that is configured differently (manually or though autonegotiation), which isn't great.
We can support such a feature if we decide to merge #45, or decide that adopting the ieee_802_3_miim crate (authored by me) is feasible.
Alternatively, we could add a callback to the new function that allows the user to interact with the MIIM to determine the speed and duplex mode, which can then be used during configuration of the MAC.
Currently, the MAC is always configured for Fast Ethernet Speed and Full duplex. This means, AFAICT, that it will never work with a PHY that is configured differently (manually or though autonegotiation), which isn't great.
We can support such a feature if we decide to merge #45, or decide that adopting the
ieee_802_3_miim
crate (authored by me) is feasible.Alternatively, we could add a callback to the
new
function that allows the user to interact with the MIIM to determine the speed and duplex mode, which can then be used during configuration of the MAC.