---
name: "i2o_bus_match"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/i2o_bus_match"
---

# i2o\_bus\_match(9)

Tell if I2O device class id matches the class ids of the I2O driver (OSM)

## NAME

i2o\_bus\_match - Tell if I2O device class id matches the class ids of the I2O driver (OSM)

## SYNOPSIS

**int i2o\_bus\_match(struct device \*** *dev***, struct device\_driver \*** *drv***);**

## ARGUMENTS

*dev*

device which should be verified

*drv*

the driver to match against

## DESCRIPTION

Used by the bus to check if the driver wants to handle the device.

Returns 1 if the class ids of the driver match the class id of the device, otherwise 0.

## COPYRIGHT
