'\" t .\" Title: genphy_soft_reset .\" 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 "GENPHY_SOFT_RESET" "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" genphy_soft_reset \- software reset the PHY via BMCR_RESET bit .SH "SYNOPSIS" .HP \w'int\ genphy_soft_reset('u .BI "int genphy_soft_reset(struct\ phy_device\ *\ " "phydev" ");" .SH "ARGUMENTS" .PP \fIphydev\fR .RS 4 target phy_device struct .RE .SH "DESCRIPTION" .PP Perform a software PHY reset using the standard BMCR_RESET bit and poll for the reset bit to be cleared\&. .SH "RETURN" .PP 0 on success, < 0 on failure .SH "COPYRIGHT" .br