genphy_update_link

Langue: en

Autres versions - même langue

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

Section: 9 (Appels noyau Linux)

NAME

genphy_update_link - update link status in phydev

SYNOPSIS

int genphy_update_link(struct phy_device * phydev);

ARGUMENTS

phydev

target phy_device struct

DESCRIPTION

Update the value in phydev->link to reflect the current link value. In order to do this, we need to read the status register twice, keeping the second value.