'\" t .\" Title: mdiobus_register .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "MDIOBUS_REGISTER" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "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" mdiobus_register \- bring up all the PHYs on a given bus and attach them to bus .SH "SYNOPSIS" .HP \w'int\ mdiobus_register('u .BI "int mdiobus_register(struct\ mii_bus\ *\ " "bus" ");" .SH "ARGUMENTS" .PP \fIbus\fR .RS 4 target mii_bus .RE .SH "DESCRIPTION" .PP Called by a bus driver to bring up all the PHYs on a given bus, and attach them to the bus\&. .PP Returns 0 on success or < 0 on error\&. .SH "COPYRIGHT" .br