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
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:
Verification