1PHY_MII_IOCTL(9) Network device support PHY_MII_IOCTL(9)
2
3
4
6 phy_mii_ioctl - generic PHY MII ioctl interface
7
9 int phy_mii_ioctl(struct phy_device * phydev, struct ifreq * ifr,
10 int cmd);
11
13 phydev
14 the phy_device struct
15
16 ifr
17 struct ifreq for socket ioctl's
18
19 cmd
20 ioctl cmd to execute
21
23 Note that this function is currently incompatible with the PHYCONTROL
24 layer. It changes registers without regard to current state. Use at own
25 risk.
26
28Kernel Hackers Manual 3.10 June 2019 PHY_MII_IOCTL(9)