xref: /freebsd/share/man/man9/device_get_parent.9 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
144d993e3SWarner Losh.\" -*- nroff -*-
244d993e3SWarner Losh.\"
3*a339dcccSWarner Losh.\" Copyright (c) 2003 M. Warner Losh <imp@FreeBSD.org>
444d993e3SWarner Losh.\"
544d993e3SWarner Losh.\" Redistribution and use in source and binary forms, with or without
644d993e3SWarner Losh.\" modification, are permitted provided that the following conditions
744d993e3SWarner Losh.\" are met:
844d993e3SWarner Losh.\" 1. Redistributions of source code must retain the above copyright
944d993e3SWarner Losh.\"    notice, this list of conditions and the following disclaimer.
1044d993e3SWarner Losh.\" 2. Redistributions in binary form must reproduce the above copyright
1144d993e3SWarner Losh.\"    notice, this list of conditions and the following disclaimer in the
1244d993e3SWarner Losh.\"    documentation and/or other materials provided with the distribution.
1344d993e3SWarner Losh.\"
1444d993e3SWarner Losh.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
1544d993e3SWarner Losh.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1644d993e3SWarner Losh.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1744d993e3SWarner Losh.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
1844d993e3SWarner Losh.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1944d993e3SWarner Losh.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2044d993e3SWarner Losh.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2144d993e3SWarner Losh.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2244d993e3SWarner Losh.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2344d993e3SWarner Losh.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2444d993e3SWarner Losh.\"
2544d993e3SWarner Losh.Dd April 21, 2003
2644d993e3SWarner Losh.Dt DEVICE_GET_PARENT 9
2744d993e3SWarner Losh.Os
2844d993e3SWarner Losh.Sh NAME
2944d993e3SWarner Losh.Nm device_get_parent
303e1cee04SRuslan Ermilov.Nd return the device's parent
3144d993e3SWarner Losh.Sh SYNOPSIS
3244d993e3SWarner Losh.In sys/param.h
3344d993e3SWarner Losh.In sys/bus.h
3444d993e3SWarner Losh.Ft device_t
3544d993e3SWarner Losh.Fn device_get_parent "device_t dev"
3644d993e3SWarner Losh.Sh DESCRIPTION
373e1cee04SRuslan ErmilovThe
3844d993e3SWarner Losh.Fn device_get_parent
393e1cee04SRuslan Ermilovfunction returns the name of the device's parent device.
4044d993e3SWarner Losh.Sh SEE ALSO
4144d993e3SWarner Losh.Xr device 9
4244d993e3SWarner Losh.Sh AUTHORS
4309356c84SHiten PandyaThis manual page was written by
4444d993e3SWarner Losh.An Warner Losh .
45