table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
GET_PHY_DEVICE(9) | Network device support | GET_PHY_DEVICE(9) |
NAME¶
get_phy_device - reads the specified PHY device and returns its phy_device structSYNOPSIS¶
struct phy_device *
get_phy_device(struct mii_bus * bus,
int addr, bool is_c45);
ARGUMENTS¶
busthe target MII bus
addr
PHY address on the MII bus
is_c45
If true the PHY uses the 802.3 clause 45 protocol
DESCRIPTION¶
Reads the ID registers of the PHY at addr on the bus, then allocates and returns the phy_device to represent it.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |