Re: [PATCH 1/3] net: Add a CONFIG_NET_BOARD_ETHADDR

2024-03-14 Thread Marek Vasut
On 3/14/24 3:43 PM, Detlev Casanova wrote: On some boards, a MAC address is set based on the CPU ID or other information. This is usually done in the misc_init_r() function. This becomes a problem for net devices that are probed after the call to misc_init_r(), for example, when the ethernet is

[PATCH 1/3] net: Add a CONFIG_NET_BOARD_ETHADDR

2024-03-14 Thread Detlev Casanova
On some boards, a MAC address is set based on the CPU ID or other information. This is usually done in the misc_init_r() function. This becomes a problem for net devices that are probed after the call to misc_init_r(), for example, when the ethernet is on a PCI port, which needs to be enumerated.