table of contents
other versions
- wheezy 3.2.78-1
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);
ARGUMENTS¶
busthe target MII bus
addr
PHY address on the MII bus
DESCRIPTION¶
Reads the ID registers of the PHY at addr on the bus, then allocates and returns the phy_device to represent it.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |