DRIVER_PROBE_DEVICE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

driver_probe_device - attempt to bind device & driver.  

SYNOPSIS

"SYNOPSIS"

int driver_probe_device (struct device_driver * drv, struct device * dev);  

ARGUMENTS

drv
driver.
dev
device.
 

DESCRIPTION

First, we call the bus's match function, if one present, which should compare the device IDs the driver supports with the device IDs of the device. Note we don't do this ourselves because we don't know the format of the ID structures, nor what is to be considered a match and what is not.

This function returns 1 if a match is found, an error if one occurs (that is not -ENODEV or -ENXIO), and 0 otherwise.

This function must be called with dev->sem held.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:04 GMT, October 09, 2005