summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2013-05-20 00:53:43 +0200
committerDavid S. Miller <davem@davemloft.net>2013-05-20 23:13:08 +0200
commit5ea94e7686a3aa04cc0d01a2d8bd3d0292b3f592 (patch)
treec698dd2f66fc211a06deab14696ed7d998616b0f /drivers/net/ethernet/intel/e1000e
parentphy: fix the use of PHY_IGNORE_INTERRUPT (diff)
downloadlinux-5ea94e7686a3aa04cc0d01a2d8bd3d0292b3f592.tar.xz
linux-5ea94e7686a3aa04cc0d01a2d8bd3d0292b3f592.zip
phy: add phy_mac_interrupt() to use with PHY_IGNORE_INTERRUPT
There is currently no way for an Ethernet MAC driver servicing PHY link interrupts to notify this to the PHY state machine without defining its own state machine. Since most drivers are not so special, introduce a helper: phy_mac_interrupt() which can be called from a link up/down interrupt routine to update the PHY state machine. To avoid code duplication some refactoring has been done to expose the workqueue and its corresponding callback internally. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e')
0 files changed, 0 insertions, 0 deletions