'\" t .\" Title: phy_start_interrupts .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "PHY_START_INTERRUPTS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_start_interrupts \- request and enable interrupts for a PHY device .SH "SYNOPSIS" .HP \w'int\ phy_start_interrupts('u .BI "int phy_start_interrupts(struct\ phy_device\ *\ " "phydev" ");" .SH "ARGUMENTS" .PP \fIphydev\fR .RS 4 target phy_device struct .RE .SH "DESCRIPTION" .PP Request the interrupt for the given PHY\&. If this fails, then we set irq to PHY_POLL\&. Otherwise, we enable the interrupts in the PHY\&. This should only be called with a valid IRQ number\&. Returns 0 on success or < 0 on error\&. .SH "COPYRIGHT" .br