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.