genphy_update_link(9)

genphy_update_link9

Update link status in phydev

Usage

int genphy_update_link(struct phy_device * phydev);

Arguments

phydev

target phy_device struct

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.