FreeBSD manual
download PDF document: device_get_parent.9.pdf
DEVICE_GET_PARENT(9) FreeBSD Kernel Developer's Manual DEVICE_GET_PARENT(9)
NAME
device_get_parent - return the device's parent
SYNOPSIS
#include <sys/param.h>
#include <sys/bus.h>
device_t
device_get_parent(device_t dev);
DESCRIPTION
The device_get_parent() function returns the name of the device's parent
device.
SEE ALSO
device(9)
AUTHORS
This manual page was written by Warner Losh.
FreeBSD 14.0-RELEASE-p11 April 21, 2003 FreeBSD 14.0-RELEASE-p11