1GET_PHY_ID(9) Network device support GET_PHY_ID(9)
23
4
NAME
6get_phy_id - reads the specified addr for its ID.
7
SYNOPSIS
9int get_phy_id(struct mii_bus * bus, int addr, u32 * phy_id);
10
ARGUMENTS
12bus
13the target MII bus
1415
addr
16PHY address on the MII bus
1718
phy_id
19where to store the ID retrieved.
20
DESCRIPTION
22Reads the ID registers of the PHY at addr on the bus, stores it in
23phy_id and returns zero on success.
24
COPYRIGHT
26Kernel Hackers Manual 2.6. November 2011 GET_PHY_ID(9)