Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite network interface #334

Merged
merged 12 commits into from
May 5, 2022
Merged

Rewrite network interface #334

merged 12 commits into from
May 5, 2022

Conversation

vinc
Copy link
Owner

@vinc vinc commented May 3, 2022

This PR rewrite the network interface to use a EthernetDevice enum and a EthernetDeviceIO trait to dispatch the methods needed by smoltcp to the Device structs of the network cards.

This allows MOROS to be compiled with support for all the network cards instead of just one previously.

At boot any supported network card present on the PCI bus will be detected and the network interface will be automatically created.

@vinc vinc marked this pull request as ready for review May 5, 2022 21:05
@vinc vinc merged commit a7cb32a into trunk May 5, 2022
@vinc vinc deleted the feature/update-network-interface branch May 5, 2022 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant