Scroll to navigation

GET_PHY_ID(9) Network device support 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.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.