---
name: "get_phy_c45_ids"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/get_phy_c45_ids"
---

# get\_phy\_c45\_ids(9)

reads the specified addr for its 802.3-c45 IDs.

## NAME

get\_phy\_c45\_ids - reads the specified addr for its 802.3-c45 IDs.

## SYNOPSIS

**int get\_phy\_c45\_ids(struct mii\_bus \*** *bus***, int** *addr***, u32 \*** *phy\_id***, struct phy\_c45\_device\_ids \*** *c45\_ids***);**

## ARGUMENTS

*bus*

the target MII bus

*addr*

PHY address on the MII bus

*phy\_id*

where to store the ID retrieved.

*c45\_ids*

where to store the c45 ID information.

## DESCRIPTION

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.

## COPYRIGHT
