Skip to content
Commit f7650d82 authored by Sergei Antonov's avatar Sergei Antonov Committed by Jakub Kicinski
Browse files

net: ftmac100: add an opportunity to get ethaddr from the platform



This driver always generated a random ethernet address. Leave it as a
fallback solution, but add a call to platform_get_ethdev_address().
Handle EPROBE_DEFER returned from platform_get_ethdev_address() to
retry when EEPROM is ready.

Signed-off-by: default avatarSergei Antonov <saproj@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220824151724.2698107-1-saproj@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8532c60e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment