how to use phy_mii_ioctl()
My first post. Thanks in advance.
Can someone point me to usage information for phy_mii_ioctl()? I search the web extensively but can't find much details.
I'm looking to access some special PHY registers through MDIO, and I think phy_mii_ioctl is the best function for me. For learning, I would like to write a very simple standalone app to retrieve a few basic registers (e.g. device-id, link status).
I'm planning to walk through the source codes to understand, but there must be a better way.