-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
embeddedsw/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xadapter.c
Line 500 in 0f46334
eth_link_detect(netif); |
The issue is that on boot, the user is usually setting up these NICs sequentially, so the phy_addr (being global) is in step.
Once the link detect thread starts running as part of the scheduler this context loses meaning.
The solution I found was to add a phy_addr parameter to the AXI/EMAC instance structs and assign when detected. The link detect thread should be using THAT value... Not whatever the global value is assigned to.
Metadata
Metadata
Assignees
Labels
No labels