i2o_bus_match

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

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.