*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> bus_generic_attach (9)              
Title
Content
Arch
Section
 

BUS_GENERIC_ATTACH(9)

Contents


NAME    [Toc]    [Back]

     bus_generic_attach -- generic implementation of DEVICE_ATTACH for busses

SYNOPSIS    [Toc]    [Back]

     #include <sys/param.h>
     #include <sys/bus.h>

     int
     bus_generic_attach(device_t dev);

DESCRIPTION    [Toc]    [Back]

     This function provides an implementation of the DEVICE_ATTACH(9) method
     which can be used by most bus code.  It simply calls
     device_probe_and_attach(9) for each child device attached to the bus.

RETURN VALUES    [Toc]    [Back]

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

SEE ALSO    [Toc]    [Back]

      
      
     device(9), driver(9)

AUTHORS    [Toc]    [Back]

     This man page was written by Doug Rabson.


FreeBSD 5.2.1			 June 16, 1998			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
bus_generic_detach FreeBSD generic implementation of DEVICE_DETACH for busses
bus_generic_print_child FreeBSD generic implementation of DEVICE_PRINT_CHILD for busses
bus_generic_shutdown FreeBSD generic implementation of DEVICE_SHUTDOWN for busses
bus_generic_write_ivar FreeBSD generic implementation of BUS_READ_IVAR and BUS_WRITE_IVAR for busses
bus_generic_read_ivar FreeBSD generic implementation of BUS_READ_IVAR and BUS_WRITE_IVAR for busses
perliol OpenBSD C API for Perl's implementation of IO in Layers.
glhint IRIX specify implementation-specific hints
glHint Tru64 specify implementation-specific hints
limits HP-UX implementation-specific constants
afsd.conf OpenBSD configuration file for the arla AFS implementation.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service