get_phy_id(9)
NAME
get_phy_id - reads the specified addr for its ID.
SYNOPSIS
int get_phy_id(struct mii_bus * bus, int addr, u32 * phy_id);
ARGUMENTS
- bus
- the target MII bus
- addr
- PHY address on the MII bus
- phy_id
- where to store the ID retrieved.
DESCRIPTION
Reads the ID registers of the PHY at addr on the bus, stores it in
phy_id and returns zero on success.