get_phy_device

Langue: en

Autres versions - même langue

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

Section: 9 (Appels noyau Linux)

NAME

get_phy_device - reads the specified PHY device and returns its phy_device struct

SYNOPSIS

struct phy_device * get_phy_device(struct mii_bus * bus, int addr);

ARGUMENTS

bus

the target MII bus

addr

PHY address on the MII bus

DESCRIPTION

Reads the ID registers of the PHY at addr on the bus, then allocates and returns the phy_device to represent it.