get_phy_c45_ids (9) - Linux Man Pages
get_phy_c45_ids: reads the specified addr for its 802.3-c45 IDs.
get_phy_c45_ids - reads the specified addr for its 802.3-c45 IDs.
int get_phy_c45_ids(struct mii_bus
*bus, int addr, u32 *phy_id, struct phy_c45_device_ids *c45_ids);
- the target MII bus
- PHY address on the MII bus
- where to store the ID retrieved.
- where to store the c45 ID information.
If the PHY devices-in-package appears to be valid, it and the corresponding identifiers are stored in c45_ids, zero is stored in phy_id. Otherwise 0xffffffff is stored in phy_id. Returns zero on success.