Skip to content

[HELP] struct phy_desc_s location #3171

@tinnedkarma

Description

@tinnedkarma

Description

I am working around netdevs in NuttX.

There is this thing I do not understand, the phy_desc_s struct is located in nuttx/include/nuttx/net/mii.h.
That somehow ties the phy to the mii (or rather mdio, but there is no standalone mdio.h file) interface.
Now the other thing that I do not understand is that although nuttx/include/nuttx/net/phy.h do exist, I was not touched in a lot of years.

So my questions are:

  • Shouldn't the phy_desc_s struct live in the phy.h instead of mii.h?
  • Is there any reason the phy.h is left untouched for this amount of time? Is any obsolescence planed for that file?

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions