-
Notifications
You must be signed in to change notification settings - Fork 8.2k
drivers: ethernet: lan9250: add support for a random mac address #99127
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
base: main
Are you sure you want to change the base?
drivers: ethernet: lan9250: add support for a random mac address #99127
Conversation
dsseng
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Please find my suggestions below
659344d to
c5e45ea
Compare
|
interesting - not sure how the msg wait all stack issues relate to this change - so, need to see if that failure is upstream or in this PR alone? |
Looks like a flaky test, unlikely to be caused by this PR. Someone with the CI access rights will restart the failed twister run and let you know if it is somehow relevant |
c5e45ea to
fdaa24c
Compare
fdaa24c to
8e34711
Compare
Extend the lan9250 driver to support using a local administered unicast random mac address during init. This follows the device tree settings for zephyr_random_mac_address from other ethernet drivers for the added support. Signed-off-by: Charles Hardin <ckhardin@gmail.com>
The reset gpio field was in the config structure but was not coded into the initialization path. So, add the appropriate code to handle the gpio setup when it is defined in the device tree. Signed-off-by: Charles Hardin <ckhardin@gmail.com>
8e34711 to
1c940f7
Compare
|



Extend the lan9250 driver to support using a local administered unicast random mac address during init. This follows the device tree settings for zephyr_random_mac_address from other ethernet drivers for the added support.