summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-04-11 06:37:50 +0000
committerimp <imp@FreeBSD.org>2004-04-11 06:37:50 +0000
commit3b454c223a8fc0130cad81e050985cafdbd56a3d (patch)
treed9af5367c355c1f5e19f4059695aeee80d42bc41
parentb3d75fb6f43070c6674f9dff155cbd0e7a5b49be (diff)
downloadFreeBSD-src-3b454c223a8fc0130cad81e050985cafdbd56a3d.zip
FreeBSD-src-3b454c223a8fc0130cad81e050985cafdbd56a3d.tar.gz
Move advise from DEVICE_PROBE.9 about where to probe children.
-rw-r--r--share/man/man9/DEVICE_ATTACH.97
1 files changed, 7 insertions, 0 deletions
diff --git a/share/man/man9/DEVICE_ATTACH.9 b/share/man/man9/DEVICE_ATTACH.9
index 717e6f9..01154b5 100644
--- a/share/man/man9/DEVICE_ATTACH.9
+++ b/share/man/man9/DEVICE_ATTACH.9
@@ -45,6 +45,13 @@ The probe method will have been called and will have indicated that
the device exists.
This routine should initialise the hardware and allocate other
system resources (such as devfs entries).
+.Pp
+Devices which implement busses should use this method to probe for
+the existence of devices attached to the bus and add them as
+children.
+If this is combined with the use of
+.Xr bus_generic_attach 9
+the child devices will be automatically probed and attached.
.Sh RETURN VALUES
Zero is returned on success, otherwise an appropriate error is returned.
.Sh SEE ALSO
OpenPOWER on IntegriCloud