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  -  BUS_ADD_CHILD (9)

NAME

BUS_ADD_CHILD - add a device node to the tree with a given priority

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In sys/bus.h int BUS_ADD_CHILD device_t dev int order const char *name int unit

DESCRIPTION

The BUS_ADD_CHILD method is used by the driver identify routine to add devices to the tree. Please see device_add_child(9) for more details. The interface is the same as device_add_child(9) however, the bus’ BUS_ADD_CHILD is called.

Busses implementing BUS_ADD_CHILD should insert the device into the tree using device_add_child(9) before adding things such as their own ivars and resource lists to the device.

RETURN VALUES

The BUS_ADD_CHILD method returns
.Vt device_t added to the tree, or NULL.

SEE ALSO

device(9), device_add_child(9), driver(9)

AUTHORS

This manual page was written by
.An M. Warner Losh .
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.