GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DEVICE_ATTACH (9)

NAME

DEVICE_ATTACH - attach a device

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In sys/bus.h int DEVICE_ATTACH device_t dev

DESCRIPTION

Attach a device to the system after the DEVICE_PROBE method has been called and has indicated that the device exists. The DEVICE_ATTACH method should initialize the hardware and allocate other system resources (such as devfs(5) entries).

Devices which implement busses should use this method to probe for the existence of devices attached to the bus and add them as children. If this is combined with the use of bus_generic_attach(9) the child devices will be automatically probed and attached.

RETURN VALUES

Zero is returned on success, otherwise an appropriate error is returned.

SEE ALSO

devfs(5), device(9), DEVICE_DETACH(9), DEVICE_IDENTIFY(9), DEVICE_PROBE(9), DEVICE_SHUTDOWN(9)

AUTHORS

This manual page was written by
.An Doug Rabson Aq dfr@FreeBSD.org .
Search for    or go to Top of page |  Section 9 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.