get_phy_id

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.