1GET_PHY_DEVICE(9)           Network device support           GET_PHY_DEVICE(9)
2
3
4

NAME

6       get_phy_device - reads the specified PHY device and returns its
7       phy_device struct
8

SYNOPSIS

10       struct phy_device * get_phy_device(struct mii_bus * bus, int addr,
11                                          bool is_c45);
12

ARGUMENTS

14       bus
15           the target MII bus
16
17       addr
18           PHY address on the MII bus
19
20       is_c45
21           If true the PHY uses the 802.3 clause 45 protocol
22

DESCRIPTION

24       Reads the ID registers of the PHY at addr on the bus, then allocates
25       and returns the phy_device to represent it.
26
28Kernel Hackers Manual 3.10         June 2019                 GET_PHY_DEVICE(9)
Impressum