device_get_parent(9)

device_get_parent9

Return the device's parent

Usage

#include <sys/param.h>

#include <sys/bus.h>

device_t

device_get_parent(device_t dev);

Overview

The device_get_parent() function returns the name of the device's parent device.

Authors

This manual page was written by Warner Losh.

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