xref: /freebsd/share/man/man9/bus_set_pass.9 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
14ef60d26SJohn Baldwin.\" -*- nroff -*-
24ef60d26SJohn Baldwin.\"
3*179fa75eSJohn Baldwin.\" Copyright (c) 2009 Hudson River Trading LLC
44ef60d26SJohn Baldwin.\" Written by: John H. Baldwin <jhb@FreeBSD.org>
54ef60d26SJohn Baldwin.\" All rights reserved.
64ef60d26SJohn Baldwin.\"
74ef60d26SJohn Baldwin.\" Redistribution and use in source and binary forms, with or without
84ef60d26SJohn Baldwin.\" modification, are permitted provided that the following conditions
94ef60d26SJohn Baldwin.\" are met:
104ef60d26SJohn Baldwin.\" 1. Redistributions of source code must retain the above copyright
114ef60d26SJohn Baldwin.\"    notice, this list of conditions and the following disclaimer.
124ef60d26SJohn Baldwin.\" 2. Redistributions in binary form must reproduce the above copyright
134ef60d26SJohn Baldwin.\"    notice, this list of conditions and the following disclaimer in the
144ef60d26SJohn Baldwin.\"    documentation and/or other materials provided with the distribution.
154ef60d26SJohn Baldwin.\"
164ef60d26SJohn Baldwin.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
174ef60d26SJohn Baldwin.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
184ef60d26SJohn Baldwin.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
194ef60d26SJohn Baldwin.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
204ef60d26SJohn Baldwin.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
214ef60d26SJohn Baldwin.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
224ef60d26SJohn Baldwin.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
234ef60d26SJohn Baldwin.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
244ef60d26SJohn Baldwin.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
254ef60d26SJohn Baldwin.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
264ef60d26SJohn Baldwin.\" SUCH DAMAGE.
274ef60d26SJohn Baldwin.\"
284ef60d26SJohn Baldwin.Dd June 8, 2009
29134d45e8SUlrich Spörlein.Dt BUS_SET_PASS 9
304ef60d26SJohn Baldwin.Os
314ef60d26SJohn Baldwin.Sh NAME
324ef60d26SJohn Baldwin.Nm bus_set_pass
334ef60d26SJohn Baldwin.Nd "raise the bus pass level"
344ef60d26SJohn Baldwin.Sh SYNOPSIS
354ef60d26SJohn Baldwin.In sys/param.h
364ef60d26SJohn Baldwin.In sys/bus.h
374ef60d26SJohn Baldwin.Ft void
384ef60d26SJohn Baldwin.Fn bus_set_pass "int pass"
394ef60d26SJohn Baldwin.Sh DESCRIPTION
404ef60d26SJohn BaldwinThe
414ef60d26SJohn Baldwin.Nm
424ef60d26SJohn Baldwinfunction is called during boot to raise the bus pass level to
434ef60d26SJohn Baldwin.Fa pass .
444ef60d26SJohn BaldwinThe function will rescan the device tree for each pass level between the
454ef60d26SJohn Baldwincurrent pass level and the new level that has at least one associated
464ef60d26SJohn Baldwindriver.
474ef60d26SJohn BaldwinThe device tree rescans are implemented by invoking the
484ef60d26SJohn Baldwin.Xr BUS_NEW_PASS 9
494ef60d26SJohn Baldwinmethod on the root bus device.
504ef60d26SJohn Baldwin.Sh SEE ALSO
514ef60d26SJohn Baldwin.Xr BUS_NEW_PASS 9 ,
524ef60d26SJohn Baldwin.Xr device 9
53