phy_read

Langue: en

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

Section: 9 (Appels noyau Linux)

NAME

phy_read - Convenience function for reading a given PHY register

SYNOPSIS

int phy_read(struct phy_device * phydev, u16 regnum);

ARGUMENTS

phydev

the phy_device struct

regnum

register number to read

NOTE

MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.