BUS_RESCAN (9)
Leading comments
Copyright (c) 2016 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 the following disclaimer in the
doc...
(The comments found at the beginning of the groff file "man9/BUS_RESCAN.9freebsd".)
NAME
BUS_RESCAN
- rescan a bus checking for devices that have been added or removed
SYNOPSIS
In sys/param.h
In sys/bus.h
Ft void
Fn BUS_RESCAN device_t dev
DESCRIPTION
The
Fn BUS_RESCAN
method is called to request a rescan of the child devices on a bus device.
The method should add any devices that have been added since the previous
scan and remove devices that have been removed.
This method is not required to re-examine existing devices to determine if
their properties have changed.
This method is also not required to propagate the rescan request to child
devices.
SEE ALSO
device(9)