diff options
author | Sergei Antonov <saproj@gmail.com> | 2022-08-24 18:17:24 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-26 19:26:11 -0700 |
commit | f7650d82e7dc501dfc5920c698bcc0591791a57c (patch) | |
tree | f7f68d51a7ebeb583e896d01de9caf9e11a506c0 /include/net/netprio_cgroup.h | |
parent | 8532c60efcc5b7b382006129b77aee2c19c43f15 (diff) | |
download | linux-f7650d82e7dc501dfc5920c698bcc0591791a57c.tar.gz |
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: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220824151724.2698107-1-saproj@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/netprio_cgroup.h')
0 files changed, 0 insertions, 0 deletions