'\" t .\" Title: mdio_bus_match .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "MDIO_BUS_MATCH" "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" mdio_bus_match \- determine if given MDIO driver supports the given MDIO device .SH "SYNOPSIS" .HP \w'int\ mdio_bus_match('u .BI "int mdio_bus_match(struct\ device\ *\ " "dev" ", struct\ device_driver\ *\ " "drv" ");" .SH "ARGUMENTS" .PP \fIstruct device * dev\fR .RS 4 target MDIO device .RE .PP \fIstruct device_driver * drv\fR .RS 4 given MDIO driver .RE .SH "DESCRIPTION" .PP Given a MDIO device, and a MDIO driver, return 1 if the driver supports the device\&. Otherwise, return 0\&. This may require calling the devices own match function, since different classes of MDIO devices have different match criteria\&. .SH "COPYRIGHT" .br