'\" t .\" Title: i2o_bus_match .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2O_BUS_MATCH" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * 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" i2o_bus_match \- Tell if I2O device class id matches the class ids of the I2O driver (OSM) .SH "SYNOPSIS" .HP \w'int\ i2o_bus_match('u .BI "int i2o_bus_match(struct\ device\ *\ " "dev" ", struct\ device_driver\ *\ " "drv" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 device which should be verified .RE .PP \fIdrv\fR .RS 4 the driver to match against .RE .SH "DESCRIPTION" .PP Used by the bus to check if the driver wants to handle the device\&. .PP Returns 1 if the class ids of the driver match the class id of the device, otherwise 0\&. .SH "COPYRIGHT" .br