DEVICE_ATTACH

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

 

NAME

device_attach - try to attach device to a driver.  

SYNOPSIS

"SYNOPSIS"

int device_attach (struct device * dev);  

ARGUMENTS

dev
device.
 

DESCRIPTION

Walk the list of drivers that the bus has and call driver_probe_device for each pair. If a compatible pair is found, break out and return.

Returns 1 if the device was bound to a driver; 0 if no matching device was found; error code otherwise.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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