'\" t
.\"     Title: phy_mac_interrupt
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: Network device support
.\"    Source: Kernel Hackers Manual 4.11.6
.\"  Language: English
.\"
.TH "PHY_MAC_INTERRUPT" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Network device support"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
phy_mac_interrupt \- MAC says the link has changed
.SH "SYNOPSIS"
.HP \w'void\ phy_mac_interrupt('u
.BI "void phy_mac_interrupt(struct\ phy_device\ *\ " "phydev" ", int\ " "new_link" ");"
.SH "ARGUMENTS"
.PP
\fIstruct phy_device * phydev\fR
.RS 4
phy_device struct with changed link
.RE
.PP
\fIint new_link\fR
.RS 4
Link is Up/Down\&.
.RE
.SH "DESCRIPTION"
.PP
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\&.
.SH "COPYRIGHT"
.br
