bus_generic_new_pass (9)
Leading comments
Copyright (c) 2009 Hudson River Trading LLC
Written by: John H. Baldwin <jhb@FreeBSD.org>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and t...
(The comments found at the beginning of the groff file "man9/bus_generic_new_pass.9freebsd".)
NAME
bus_generic_new_pass
- generic implementation of BUS_NEW_PASS for bus devices
SYNOPSIS
In sys/param.h
In sys/bus.h
Ft void
Fn bus_generic_new_pass device_t dev
DESCRIPTION
This function provides an implementation of the
BUS_NEW_PASS9
method which can be used by bus drivers.
It first invokes the
DEVICE_IDENTIFY9
method for any drivers whose pass level is equal to the new pass level.
Then, for each attached child device it calls
BUS_NEW_PASS9
to rescan child busses,
and for each unattached child device it calls
device_probe_and_attach9.
SEE ALSO
BUS_NEW_PASS9,
bus_set_pass9,
device(9),
DEVICE_IDENTIFY9