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

NAME

6       get_phy_id - reads the specified addr for its ID.
7

SYNOPSIS

9       int get_phy_id(struct mii_bus * bus, int addr, u32 * phy_id,
10                      bool is_c45, struct phy_c45_device_ids * c45_ids);
11

ARGUMENTS

13       bus
14           the target MII bus
15
16       addr
17           PHY address on the MII bus
18
19       phy_id
20           where to store the ID retrieved.
21
22       is_c45
23           If true the PHY uses the 802.3 clause 45 protocol
24
25       c45_ids
26           where to store the c45 ID information.
27

DESCRIPTION

29       In the case of a 802.3-c22 PHY, reads the ID registers of the PHY at
30       addr on the bus, stores it in phy_id and returns zero on success.
31
32       In the case of a 802.3-c45 PHY, get_phy_c45_ids is invoked, and its
33       return value is in turn returned.
34
36Kernel Hackers Manual 3.10         June 2019                     GET_PHY_ID(9)
Impressum