Name

phy_mac_interrupt — MAC says the link has changed

Synopsis

void phy_mac_interrupt (struct phy_device * phydev,
 int new_link);
 

Arguments

struct phy_device * phydev

phy_device struct with changed link

int new_link

Link is Up/Down.

Description

The MAC layer is able indicate there has been a change in the PHY link status. Set the new link status, and trigger the state machine, work a work queue.