Skip to content

Re-init of Autonegotiation fails when using FreeRTOS #345

@jwolfm98

Description

@jwolfm98

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions