From 3b454c223a8fc0130cad81e050985cafdbd56a3d Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 11 Apr 2004 06:37:50 +0000 Subject: [PATCH] Move advise from DEVICE_PROBE.9 about where to probe children. --- share/man/man9/DEVICE_ATTACH.9 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/share/man/man9/DEVICE_ATTACH.9 b/share/man/man9/DEVICE_ATTACH.9 index 717e6f985fca..01154b5168a5 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