- int phy_mii_ioctl(struct phy_device * phydev, struct ifreq * ifr, int cmd);
- the phy_device struct
- struct ifreq for socket ioctl's
- ioctl cmd to execute
Note that this function is currently incompatible with the PHYCONTROL layer. It changes registers without regard to current state. Use at own risk.