'\" t .\" Title: mdiobus_create_device .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "MDIOBUS_CREATE_DEVIC" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "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_create_device \- create a full MDIO device given a mdio_board_info structure .SH "SYNOPSIS" .HP \w'int\ mdiobus_create_device('u .BI "int mdiobus_create_device(struct\ mii_bus\ *\ " "bus" ", struct\ mdio_board_info\ *\ " "bi" ");" .SH "ARGUMENTS" .PP \fIstruct mii_bus * bus\fR .RS 4 MDIO bus to create the devices on .RE .PP \fIstruct mdio_board_info * bi\fR .RS 4 mdio_board_info structure describing the devices .RE .SH "DESCRIPTION" .PP Returns 0 on success or < 0 on error\&. .SH "COPYRIGHT" .br