Re: [PATCH 1/2] net: bgmac-platform: handle mac-address deferral

From: Florian Fainelli
Date: Sat Sep 25 2021 - 22:21:22 EST




On 9/25/2021 4:36 AM, Matthew Hagan wrote:
This patch is a replication of Christian Lamparter's "net: bgmac-bcma:
handle deferred probe error due to mac-address" patch for the
bgmac-platform driver [1].

As is the case with the bgmac-bcma driver, this change is to cover the
scenario where the MAC address cannot yet be discovered due to reliance
on an nvmem provider which is yet to be instantiated, resulting in a
random address being assigned that has to be manually overridden.

[1] https://lore.kernel.org/netdev/20210919115725.29064-1-chunkeey@xxxxxxxxx

Signed-off-by: Matthew Hagan <mnhagan88@xxxxxxxxx>

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian