BUS_PRINT_CHILD(9)

BUS_PRINT_CHILD9

Print information about a device

Usage

#include <sys/param.h>

#include <sys/bus.h>

int

BUS_PRINT_CHILD(device_t dev, device_t child);

Overview

The BUS_PRINT_CHILD() method is called from system code which prints out a description of a device. It should describe the attachment that the child has with the parent. For instance the TurboLaser bus prints which node the device is attached to. Please see bus_generic_print_child(9) for more information regarding the proper formatting of the messages printed by BUS_PRINT_CHILD().

Return values

The number of characters output.

Authors

This manual page was written by Doug Rabson.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.