1GET_PHY_DEVICE(9) Network device support GET_PHY_DEVICE(9)
23
4
NAME
6get_phy_device - reads the specified PHY device and returns its
7phy_device struct
8
SYNOPSIS
10struct phy_device * get_phy_device(struct mii_bus * bus, int addr);
11
ARGUMENTS
13bus
14the target MII bus
1516
addr
17PHY address on the MII bus
18
DESCRIPTION
20Reads the ID registers of the PHY at addr on the bus, then allocates
21and returns the phy_device to represent it.
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 GET_PHY_DEVICE(9)